summaryrefslogtreecommitdiff
path: root/addons/mass_mailing/models/mailing.py
diff options
context:
space:
mode:
authorJérémy Hennecart <jeh@odoo.com>2020-02-18 14:12:19 +0000
committerJérémy Hennecart <jeh@odoo.com>2020-02-27 09:59:23 +0000
commitfc8e4465e137212d401dfe1fdbd56e5c8f72efbc (patch)
tree5efd5728d544e3975c492d30f0cf7e068234500d /addons/mass_mailing/models/mailing.py
parent0d41a3cb81d4167d970502d5d49fed1deca0f625 (diff)
[IMP] mass_mailing: improve ui backend
- Replace the fa-clock icon on the kanban view for the fa-calendar-check-o icon to be consistent with others modules. - When you wanted to create/edit a mail template using the web_editor, when it was open in a modal, a part of the body was behind the editor panel. Now the body is correctly display when opened in a modal. task-2198656
Diffstat (limited to 'addons/mass_mailing/models/mailing.py')
-rw-r--r--addons/mass_mailing/models/mailing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mass_mailing/models/mailing.py b/addons/mass_mailing/models/mailing.py
index d12930f926f..ad3ebde9acc 100644
--- a/addons/mass_mailing/models/mailing.py
+++ b/addons/mass_mailing/models/mailing.py
@@ -294,7 +294,7 @@ class MassMailing(models.Model):
self.write({'state': 'in_queue'})
def action_cancel(self):
- self.write({'state': 'draft', 'schedule_date': False})
+ self.write({'state': 'draft', 'schedule_date': False, 'next_departure': False})
def action_retry_failed(self):
failed_mails = self.env['mail.mail'].sudo().search([