From 8ebef14256fea1da3d1ec6670af683250b1dc4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 7 Jan 2022 16:22:07 +0000 Subject: [PATCH] [REF] mail: remove unnecessary layout field on composer This field is a duplicate of email_layout_xmlid and is actually never used. Followup of odoo/odoo#76418 . Task-2732660 (Mail: Remove duplicate layout field on composer) Part-of: odoo/odoo#82167 --- addons/mail/wizard/mail_compose_message.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index af68dc0bf28..2c7499994bc 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -100,7 +100,6 @@ class MailComposer(models.TransientModel): 'ir.attachment', 'mail_compose_message_ir_attachments_rel', 'wizard_id', 'attachment_id', 'Attachments') email_layout_xmlid = fields.Char('Email Notification Layout', copy=False) - layout = fields.Char('Layout', copy=False) # xml id of layout email_add_signature = fields.Boolean(default=True) # origin email_from = fields.Char('From', help="Email address of the sender. This field is set when no matching partner is found and replaces the author_id field in the chatter.")