diff options
| author | Priyanka Kakadiya <pka@odoo.com> | 2021-02-17 12:20:25 +0000 |
|---|---|---|
| committer | Priyanka Kakadiya <pka@odoo.com> | 2021-03-10 05:11:06 +0000 |
| commit | c65dff39af6ff84d6be8d9f28684773e32c0e8ca (patch) | |
| tree | 5780b0bfdfd943bb2a860d5e63776561e4b4b818 /addons/mail/models/mail_thread.py | |
| parent | 9c7bb7637f9210a2bf373878ea03a0ee885c4702 (diff) | |
[FIX] mail: notification not sent when using the full composer
Current behavior before PR:
mail notification not sent when using the full composer.
Desired behavior after PR is merged:
mail notification will send when using the full composer.
LINKS:
PR https://github.com/odoo/odoo/pull/66421
Task-2446855
closes odoo/odoo#66421
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/mail/models/mail_thread.py')
| -rw-r--r-- | addons/mail/models/mail_thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py index db478e10812..57cccb22265 100644 --- a/addons/mail/models/mail_thread.py +++ b/addons/mail/models/mail_thread.py @@ -1830,7 +1830,7 @@ class MailThread(models.AbstractModel): if subtype_xmlid: subtype_id = self.env['ir.model.data'].xmlid_to_res_id(subtype_xmlid) if not subtype_id: - subtype_id = self.env['ir.model.data'].xmlid_to_res_id('mail_mt_note') + subtype_id = self.env['ir.model.data'].xmlid_to_res_id('mail.mt_note') # automatically subscribe recipients if asked to if self._context.get('mail_post_autofollow') and partner_ids: |
