diff --git a/addons/event/data/email_template_data.xml b/addons/event/data/email_template_data.xml index c1ca30a1347..023cb9d44bc 100644 --- a/addons/event/data/email_template_data.xml +++ b/addons/event/data/email_template_data.xml @@ -205,6 +205,7 @@ +% if object.company_id
@@ -216,6 +217,7 @@
+% endif ${object.partner_id.lang} @@ -399,6 +401,7 @@ +% if object.company_id
@@ -410,6 +413,7 @@
+% endif ${object.partner_id.lang} diff --git a/addons/event/i18n/event.pot b/addons/event/i18n/event.pot index 9af3e6e90ed..36d5324019a 100644 --- a/addons/event/i18n/event.pot +++ b/addons/event/i18n/event.pot @@ -316,11 +316,13 @@ msgid "\n" @@ -502,11 +504,13 @@ msgid "
\n" " \n" " \n" "
\n" +" % if object.company_id\n" " Sent by ${object.company_id.name}\n" " % if 'website_url' in object.event_id and object.event_id.website_url:\n" "
\n" " Discover all our events.\n" " % endif\n" +" % endif\n" "
\n" "
\n" diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml index dd1b88e21e0..ed26830a36a 100644 --- a/addons/mail/data/mail_data.xml +++ b/addons/mail/data/mail_data.xml @@ -88,11 +88,14 @@

- Sent by + Sent + + by + using Odoo.

diff --git a/addons/mail/i18n/mail.pot b/addons/mail/i18n/mail.pot index beb83dc09eb..80b1399e139 100644 --- a/addons/mail/i18n/mail.pot +++ b/addons/mail/i18n/mail.pot @@ -4533,7 +4533,8 @@ msgstr "" #. module: mail #. openerp-web -#: code:addons/mail/static/src/xml/thread.xml:397 +#: code:addons/mail/static/src/xml/thread.xml:390 +#: model_terms:ir.ui.view,arch_db:mail.message_notification_email #: model_terms:ir.ui.view,arch_db:mail.view_mail_search #: selection:mail.mail,state:0 #: selection:mail.notification,email_status:0 @@ -5566,6 +5567,7 @@ msgstr "" #. module: mail #. openerp-web #: code:addons/mail/static/src/xml/activity.xml:43 +#: model_terms:ir.ui.view,arch_db:mail.message_notification_email #: model_terms:ir.ui.view,arch_db:mail.view_mail_form #, python-format msgid "by"
\n" " \n" " \n" "
\n" +" % if object.company_id:\n" " Sent by ${object.company_id.name}\n" " % if 'website_url' in object.event_id and object.event_id.website_url:\n" "
\n" " Discover all our events.\n" " % endif\n" +" % endif\n" "
\n" "