From 8d02a85c1da1e91eed68bd854da07be820f987f7 Mon Sep 17 00:00:00 2001 From: "Simon Genin (ges)" Date: Wed, 1 Jul 2020 10:20:35 +0000 Subject: [PATCH] [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) --- addons/mail/models/mail_thread.py | 4 ++-- addons/project/views/project_views.xml | 12 +++++------- 2 files changed, 7 insertions(+), 9 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

%(dyn_help)s

" % { '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 "

%(dyn_help)s

" % { - 'dyn_help': _("Create a new %(document)s") % { + 'dyn_help': _("Create new %(document)s") % { 'document': document_name, } } diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index a3902381fa4..cf15dab91b3 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -64,7 +64,7 @@

- Click Create to start a new task. + Click Create to start a new task

To get things done, use activities and status on tasks.
Chat in real time or by email to collaborate efficiently. @@ -79,7 +79,7 @@

- Click Create to start a new task. + Click Create to start a new task

To get things done, use activities and status on tasks.
Chat in real time or by email to collaborate efficiently. @@ -296,12 +296,10 @@

- +