diff options
| author | Simon Genin (ges) <ges@odoo.com> | 2020-07-01 10:20:35 +0000 |
|---|---|---|
| committer | Simon Genin (ges) <ges@odoo.com> | 2020-07-03 08:53:36 +0000 |
| commit | 8d02a85c1da1e91eed68bd854da07be820f987f7 (patch) | |
| tree | b73312d8bc1c3180d8626e45c9999f1124908276 /addons/mail/models/mail_thread.py | |
| parent | 6df67a28c2f113572acd4a3db19ab6b1bd37e7da (diff) | |
[IMP] project: fix mail alias
Update mail alias layout, makes email address
clickable (mailto) and fix a couple of typos.
Task ID 2287394
closes odoo/odoo#53960
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/mail/models/mail_thread.py')
| -rw-r--r-- | addons/mail/models/mail_thread.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py index dcadca5b281..6350732dc28 100644 --- a/addons/mail/models/mail_thread.py +++ b/addons/mail/models/mail_thread.py @@ -392,7 +392,7 @@ class MailThread(models.AbstractModel): if "oe_view_nocontent_alias" not in help: return "%(static_help)s<p class='oe_view_nocontent_alias'>%(dyn_help)s</p>" % { 'static_help': help, - 'dyn_help': _("Create a new %(document)s by sending an email to %(email_link)s") % { + 'dyn_help': _("Create new %(document)s by sending an email to %(email_link)s") % { 'document': document_name, 'email_link': email_link, } @@ -400,7 +400,7 @@ class MailThread(models.AbstractModel): if nothing_here: return "<p class='o_view_nocontent_smiling_face'>%(dyn_help)s</p>" % { - 'dyn_help': _("Create a new %(document)s") % { + 'dyn_help': _("Create new %(document)s") % { 'document': document_name, } } |
