summaryrefslogtreecommitdiff
path: root/addons/account/data
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-04-23 17:59:59 +0200
committerChristophe Simonis <chs@odoo.com>2018-04-23 17:59:59 +0200
commit3ab25b60bc5e13a91a518f5effd46a28b026a8f7 (patch)
tree4ab971eb25736469897d13ea10e758c9caea9b01 /addons/account/data
parent30490cae89a3c528c01f470e828f11853df25126 (diff)
parentcae950e826292f5246b73eeb5d85cb1d47c76978 (diff)
[MERGE] forward port branch saas-15 up to cae950e8262
Diffstat (limited to 'addons/account/data')
-rw-r--r--addons/account/data/mail_template_data.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/data/mail_template_data.xml b/addons/account/data/mail_template_data.xml
index 55518c79549..25d54c81c85 100644
--- a/addons/account/data/mail_template_data.xml
+++ b/addons/account/data/mail_template_data.xml
@@ -71,7 +71,7 @@ from ${object.company_id.name}.
<field name="body_html" type="html">
<div>
% set record = ctx.get('record')
-% set company = record and record.company_id or user.company_id
+% set company = record and record.company_id or ctx.get('company')
<table border="0" width="100%" cellpadding="0" bgcolor="#ededed" style="padding: 20px; background-color: #ededed; border-collapse:separate;" summary="o_mail_notification">
<tbody>
<!-- HEADER -->