summaryrefslogtreecommitdiff
path: root/addons/account/data/mail_template_data.xml
diff options
context:
space:
mode:
authorjpr-odoo <jpr@openerp.com>2019-02-18 06:43:55 +0000
committerjpr-odoo <jpr@openerp.com>2019-04-12 09:04:27 +0000
commitd6d7554a6ef57753285775bf2491e2a1a26434b4 (patch)
tree980fa350bec35252108c00a77e83634eec9eb847 /addons/account/data/mail_template_data.xml
parentcaad35c29cbb5496e2eb48153de8a0beeb6cebc4 (diff)
[IMP] account: improvement into the invoice mail template
with this commit, we have added comma ',' after the name of the customer Task ID: 1930087
Diffstat (limited to 'addons/account/data/mail_template_data.xml')
-rw-r--r--addons/account/data/mail_template_data.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/account/data/mail_template_data.xml b/addons/account/data/mail_template_data.xml
index f384d3f49cc..def7a705654 100644
--- a/addons/account/data/mail_template_data.xml
+++ b/addons/account/data/mail_template_data.xml
@@ -14,9 +14,11 @@
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p style="margin: 0px; padding: 0px; font-size: 13px;">
- Dear ${object.partner_id.name}
+ Dear
% if object.partner_id.parent_id:
- (${object.partner_id.parent_id.name})
+ ${object.partner_id.name} (${object.partner_id.parent_id.name}),
+ % else:
+ ${object.partner_id.name},
% endif
<br /><br />
Here is your