summaryrefslogtreecommitdiff
path: root/addons/purchase/data
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-01-25 09:54:34 +0100
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-01-25 11:00:35 +0100
commitee8e3d694002278f1ab8aedb431a12a05d39471f (patch)
tree5173ca2772ac6cb2be94750209e875761c5d699b /addons/purchase/data
parent6d92fc93f616c7f943d0e9bee064272feebc6786 (diff)
[FIX] account, l10n_be_invoice_bba, purchase, repair, sale: format_amount
Use `format_amount` in the mail templates in order to format as a regular amount (with rounding and symbol). opw-805370
Diffstat (limited to 'addons/purchase/data')
-rw-r--r--addons/purchase/data/mail_template_data.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/purchase/data/mail_template_data.xml b/addons/purchase/data/mail_template_data.xml
index ecba11ce056..a2d1a7eb0e3 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>