diff options
| author | Remi Rahir <rar@odoo.com> | 2019-07-22 08:53:49 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-07-23 08:29:15 +0000 |
| commit | e20c1b6eff1cef0e751eeebacc0bf17b85aa1283 (patch) | |
| tree | 2fe2268fa1b3524f4ced9d8136546cd4998c3875 /addons/sms/models | |
| parent | 0cc6390db5e759bfbfbbf2272f342eba391926fa (diff) | |
[FIX] sms: fix some typos
PURPOSE
Followup of merge 4287481 .
SPECIFICATIONS
Notification type is now a selection -> use 'sms' instead of True;
Fix typo in method renaming not correctly propagated to its view;
LINKS
Task 1922187
Diffstat (limited to 'addons/sms/models')
| -rw-r--r-- | addons/sms/models/mail_message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sms/models/mail_message.py b/addons/sms/models/mail_message.py index ce76aa5349b..3f97b8abcb0 100644 --- a/addons/sms/models/mail_message.py +++ b/addons/sms/models/mail_message.py @@ -29,7 +29,7 @@ class MailMessage(models.Model): def _search_has_sms_error(self, operator, operand): if operator == '=' and operand: - return ['&', ('notification_ids.notification_status', '=', 'exception'), ('notification_ids.notification_type', '=', True)] + return ['&', ('notification_ids.notification_status', '=', 'exception'), ('notification_ids.notification_type', '=', 'sms')] raise NotImplementedError() def _format_mail_failures(self): |
