diff --git a/addons/mail/static/src/models/notification_group/notification_group.js b/addons/mail/static/src/models/notification_group/notification_group.js index 54cbb8c2036..48bccf5ee23 100644 --- a/addons/mail/static/src/models/notification_group/notification_group.js +++ b/addons/mail/static/src/models/notification_group/notification_group.js @@ -115,6 +115,7 @@ function factory(dependencies) { target: 'current', res_model: this.res_model, domain: [['message_has_error', '=', true]], + context: { create: false }, }, }); if (this.messaging.device.isMobile) { diff --git a/addons/mail/views/mail_template_views.xml b/addons/mail/views/mail_template_views.xml index eee589a4284..2f6e02bb088 100644 --- a/addons/mail/views/mail_template_views.xml +++ b/addons/mail/views/mail_template_views.xml @@ -34,9 +34,9 @@
@@ -44,7 +44,7 @@
-

+

diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index 003bb940514..3d91e4cde93 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -130,8 +130,8 @@ class MailComposer(models.TransientModel): string='Considers answers as new thread', help='Manage answers as new incoming emails instead of replies going to the same thread.') reply_to_mode = fields.Selection([ - ('update', 'Log in the original discussion thread'), - ('new', 'Redirect to another email address')], + ('update', 'Store email and replies in the chatter of each record'), + ('new', 'Collect replies on a specific email address')], string='Replies', compute='_compute_reply_to_mode', inverse='_inverse_reply_to_mode', help="Original Discussion: Answers go in the original document discussion thread. \n Another Email Address: Answers go to the email address mentioned in the tracking message-id instead of original document discussion thread. \n This has an impact on the generated message-id.") is_log = fields.Boolean('Log an Internal Note', diff --git a/addons/mail/wizard/mail_compose_message_views.xml b/addons/mail/wizard/mail_compose_message_views.xml index 603958d9b29..1771f53bf47 100644 --- a/addons/mail/wizard/mail_compose_message_views.xml +++ b/addons/mail/wizard/mail_compose_message_views.xml @@ -6,7 +6,7 @@ mail.compose.message -
+ @@ -15,66 +15,52 @@ - - - -
-

- - All records matching your current search filter will be mailed, - not only the ids selected in the list view. -
- The email will be sent for all the records selected in the list.
- Confirming this wizard will probably take a few minutes blocking your browser. -

-

- Only records checked in list view will be used.
- The email will be sent for all the records selected in the list. -

-

- - If you want to send it for all the records matching your search criterion, check this box : - - - If you want to use only selected records please uncheck this selection box : - - -

-
-
- - - - - +
+ + + + + +
+ + +
+ + + + + +
+
+ + + + + + + + +
- Resend mail + Sending Failures mail.resend.message ir.actions.act_window form diff --git a/addons/mass_mailing/wizard/mail_compose_message.py b/addons/mass_mailing/wizard/mail_compose_message.py index 788afa1319c..a17f317ba7a 100644 --- a/addons/mass_mailing/wizard/mail_compose_message.py +++ b/addons/mass_mailing/wizard/mail_compose_message.py @@ -9,7 +9,7 @@ class MailComposeMessage(models.TransientModel): mass_mailing_id = fields.Many2one('mailing.mailing', string='Mass Mailing', ondelete='cascade') campaign_id = fields.Many2one('utm.campaign', string='Mass Mailing Campaign') - mass_mailing_name = fields.Char(string='Mass Mailing Name') + mass_mailing_name = fields.Char(string='Mass Mailing Name', help='If set, a mass mailing will be created so that you can track its results in the Email Marketing app.') mailing_list_ids = fields.Many2many('mailing.list', string='Mailing List') def get_mail_values(self, res_ids): diff --git a/addons/mass_mailing/wizard/mail_compose_message_views.xml b/addons/mass_mailing/wizard/mail_compose_message_views.xml index 07aec46f4a5..ffc9bbe06e2 100644 --- a/addons/mass_mailing/wizard/mail_compose_message_views.xml +++ b/addons/mass_mailing/wizard/mail_compose_message_views.xml @@ -13,6 +13,34 @@ + + + + {'invisible': [ + '|', + ('is_log', '=', False), + '&', + ('mass_mailing_name', '!=', ''), + ('mass_mailing_name', '!=', False) + ]} + + + + + + {'invisible': [ + '|', + ('is_log', '=', True), + '&', + ('mass_mailing_name', '!=', ''), + ('mass_mailing_name', '!=', False) + ]} + + + +