diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-08-19 16:59:29 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-08-19 16:59:29 +0200 |
| commit | bc1a0a32ca80aaadd52e66115fe9c9ad4b26c2e0 (patch) | |
| tree | e2ca10dde39d78301e100c76a76f3ab86fd509f3 /addons/mail/wizard/mail_compose_message.py | |
| parent | 2331bbf4b05d9e9f2ad5e56814ad440683882e3d (diff) | |
| parent | 58cbcbae318f613c0e8239fbcfea59d0c3c33612 (diff) | |
[MERGE] forward port branch 9.0 up to 58cbcba
Diffstat (limited to 'addons/mail/wizard/mail_compose_message.py')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index 34d59736185..5acc2ebfa66 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -120,7 +120,7 @@ class MailComposer(models.TransientModel): auto_delete = fields.Boolean('Delete Emails', help='Delete sent emails (mass mailing only)') auto_delete_message = fields.Boolean('Delete Message Copy', help='Do not keep a copy of the email in the document communication history (mass mailing only)') template_id = fields.Many2one( - 'mail.template', 'Use template', select=True, + 'mail.template', 'Use template', index=True, domain="[('model', '=', model)]") # mail_message updated fields message_type = fields.Selection(default="comment") |
