diff options
| author | Xavier-Do <xdo@odoo.com> | 2019-04-12 13:16:48 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-05-29 13:34:32 +0000 |
| commit | 2fcb3c658df3e504b92ff9b5a805d150cfa7effd (patch) | |
| tree | 211bc53b2593e3f165ea7831187ad96965e66538 /addons/mail/models/mail_message.py | |
| parent | 581a74143e9d215654b1988e2480c6516a3a4887 (diff) | |
[REF] mail: rename notif_layout to email_layout_xmlid on message model
Purpose is to make field use more obvious by correctly stating in the
name it should contain an xml id to a qweb layout used for email
notifications. This renaming is propagated through various calls and
addons.
Related to task 1943901
Linked to PR #32404
Diffstat (limited to 'addons/mail/models/mail_message.py')
| -rw-r--r-- | addons/mail/models/mail_message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/models/mail_message.py b/addons/mail/models/mail_message.py index 5db3abe850f..95fc750066b 100644 --- a/addons/mail/models/mail_message.py +++ b/addons/mail/models/mail_message.py @@ -124,7 +124,7 @@ class Message(models.Model): moderator_id = fields.Many2one('res.users', string="Moderated By", index=True) need_moderation = fields.Boolean('Need moderation', compute='_compute_need_moderation', search='_search_need_moderation') #keep notification layout informations to be able to generate mail again - layout = fields.Char('Layout', copy=False) # xml id of layout + email_layout_xmlid = fields.Char('Layout', copy=False, oldname='layout') # xml id of layout add_sign = fields.Boolean(default=True) @api.multi |
