From 5de74b99fedb9192b14b98cb12e9034e4bf24048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BE=D1=80=D0=BE=D0=B1=D1=8C=D0=B5=D0=B2=20=D0=94?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=BB=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B5?= =?UTF-8?q?=D0=B2=D0=B8=D1=87?= Date: Tue, 30 Jul 2024 16:17:41 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=9E=D1=82=D0=BA=D0=BB=D1=8E=D1=87?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20Digest=20Email=20=D0=B8=D0=B7=20=D0=BD?= =?UTF-8?q?=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B5=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit При установке модуля галочка рассылки digest'а отключена по умолчанию --- models/res_config_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/res_config_settings.py b/models/res_config_settings.py index 8ea5606..0c3f795 100644 --- a/models/res_config_settings.py +++ b/models/res_config_settings.py @@ -6,5 +6,5 @@ from odoo import fields, models class ResConfigSettings(models.TransientModel): _inherit = 'res.config.settings' - digest_emails = fields.Boolean(string="Digest Emails", config_parameter='digest.default_digest_emails') + digest_emails = fields.Boolean(string="Digest Emails", config_parameter=False) digest_id = fields.Many2one('digest.digest', string='Digest Email', config_parameter='digest.default_digest_id')