summaryrefslogtreecommitdiff
path: root/addons/purchase/data
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-02-28 19:01:35 +0100
committerChristophe Simonis <chs@odoo.com>2018-02-28 19:01:35 +0100
commit9d25cc34299c6d489989dd217d89edf4eca64efe (patch)
tree2da9674fa990679d99e5264f91b17a7d3eb7a19b /addons/purchase/data
parent6693e3181a16e2f6785cf47547cb59ba85f1cb43 (diff)
[FIX] *: correcly format amounts in mail templates
Diffstat (limited to 'addons/purchase/data')
-rw-r--r--addons/purchase/data/mail_template_data.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/purchase/data/mail_template_data.xml b/addons/purchase/data/mail_template_data.xml
index ecba11ce056..88270926646 100644
--- a/addons/purchase/data/mail_template_data.xml
+++ b/addons/purchase/data/mail_template_data.xml
@@ -28,7 +28,7 @@ Here is, in attachment, a ${object.state in ('draft', 'sent') and 'request for q
% if object.origin:
(RFQ origin: ${object.origin})
% endif
-amounting in <strong>${object.amount_total} ${object.currency_id.name}</strong>
+amounting in <strong>${format_amount(object.amount_total, object.currency_id)}</strong>
from ${object.company_id.name}.
</p>
@@ -68,7 +68,7 @@ Please find in attachment a <strong>${object.state in ('draft', 'sent') and 'req
% if object.origin:
(RFQ origin: ${object.origin})
% endif
-amounting <strong>${object.amount_total} ${object.currency_id.name}</strong>
+amounting <strong>${format_amount(object.amount_total, object.currency_id)}</strong>
from ${object.company_id.name}.
</p>