diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-01-25 09:54:34 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-01-25 11:00:35 +0100 |
| commit | ee8e3d694002278f1ab8aedb431a12a05d39471f (patch) | |
| tree | 5173ca2772ac6cb2be94750209e875761c5d699b /addons/purchase/data | |
| parent | 6d92fc93f616c7f943d0e9bee064272feebc6786 (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.xml | 2 |
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> |
