From ccf9a5aa9f7f229094ff8a6455bd4bce3d387a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 1 Jul 2022 11:33:42 +0000 Subject: [PATCH] [FIX] mail: help user using scheduled date field on mail Followup of odoo/odoo@582ac8d9a9f9d7b50b1950a389dbd0a3cd047973 Task-2860761 closes odoo/odoo#95143 X-original-commit: d95b19e2481e13fa159ebce0f1cc35175adecd4d Signed-off-by: Thibault Delavallee (tde) --- addons/mail/i18n/mail.pot | 3 ++- addons/mail/models/mail_mail.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/mail/i18n/mail.pot b/addons/mail/i18n/mail.pot index f7d091f1f35..6b312e11541 100644 --- a/addons/mail/i18n/mail.pot +++ b/addons/mail/i18n/mail.pot @@ -3262,7 +3262,8 @@ msgstr "" #: model:ir.model.fields,help:mail.field_mail_mail__scheduled_date msgid "" "If set, the queue manager will send the email after the date. If not set, " -"the email will be send as soon as possible." +"the email will be send as soon as possible. Unless a timezone is specified, " +"it is considered as being in UTC timezone." msgstr "" #. module: mail diff --git a/addons/mail/models/mail_mail.py b/addons/mail/models/mail_mail.py index 3d04974adfd..a453ad7502a 100644 --- a/addons/mail/models/mail_mail.py +++ b/addons/mail/models/mail_mail.py @@ -86,7 +86,7 @@ class MailMail(models.Model): help="This option permanently removes any track of email after it's been sent, including from the Technical menu in the Settings, in order to preserve storage space of your Odoo database.") to_delete = fields.Boolean('To Delete', help='If set, the mail will be deleted during the next Email Queue CRON run.') scheduled_date = fields.Char('Scheduled Send Date', - help="If set, the queue manager will send the email after the date. If not set, the email will be send as soon as possible.") + help="If set, the queue manager will send the email after the date. If not set, the email will be send as soon as possible. Unless a timezone is specified, it is considered as being in UTC timezone.") def _compute_mail_message_id_int(self): for mail in self: