diff options
| author | David Beguin <dbe@odoo.com> | 2018-10-25 15:55:02 +0000 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2018-11-20 11:37:05 +0000 |
| commit | 0fe50a01d2d4969f2a4cf85c36c2884407ccc682 (patch) | |
| tree | 188d3348d4f84a9184cb009e233de4744ccd0c82 /addons/test_mass_mailing/models/mass_mail_test.py | |
| parent | 8d3fcf42c9e1f1aedaf5dae0f3776c0efbe7644f (diff) | |
[IMP] mail : apply mail.address.mixin on blacklist
Apply the mail.address.mixin on blacklist mixin. So that every model
inheriting the blacklist.mixin will also inherit the address.mixin.
That simplify also the comparaison to - and the searches on - the
blacklist.
Task ID 1896677
Diffstat (limited to 'addons/test_mass_mailing/models/mass_mail_test.py')
| -rw-r--r-- | addons/test_mass_mailing/models/mass_mail_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/test_mass_mailing/models/mass_mail_test.py b/addons/test_mass_mailing/models/mass_mail_test.py index 87e72497399..ac9d3eeb65a 100644 --- a/addons/test_mass_mailing/models/mass_mail_test.py +++ b/addons/test_mass_mailing/models/mass_mail_test.py @@ -9,7 +9,8 @@ class MassMailTest(models.Model): mailing features and base performances. """ _description = 'Simple Mass Mailing Model' _name = 'mass.mail.test' - _inherit = ['mail.thread'] + _inherit = ['mail.thread', 'mail.address.mixin'] + _primary_email = ['email_from'] name = fields.Char() email_from = fields.Char() |
