diff options
| author | invitu <contact@invitu.com> | 2018-03-02 05:43:00 -1000 |
|---|---|---|
| committer | Martin Trigaux <564822+mart-e@users.noreply.github.com> | 2018-03-02 16:43:00 +0100 |
| commit | 7d1775fda3fa414107566643c3779155506512e2 (patch) | |
| tree | fae51ea76192efd946c4d21cefc0a423ca3885e8 /addons/product/report | |
| parent | 6be9fa39674786dd75bb74cdbc6c8c6b4d3eccbb (diff) | |
[IMP] product: use montenary label
Format the product price on the product label report to format correctly
the currency
Closes #22999
Diffstat (limited to 'addons/product/report')
| -rw-r--r-- | addons/product/report/product_product_templates.xml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/product/report/product_product_templates.xml b/addons/product/report/product_product_templates.xml index 2d75d5e3a3f..8ff638cb077 100644 --- a/addons/product/report/product_product_templates.xml +++ b/addons/product/report/product_product_templates.xml @@ -22,8 +22,7 @@ </td> <td style="border: 2px solid black; text-align: center;" class="col-xs-7"> <h4> - <strong t-field="product.company_id.currency_id.symbol"/> - <strong t-field="product.list_price"/> + <strong t-field="product.list_price" t-options="{'widget': 'monetary', 'display_currency': product.company_id.currency_id}"/> </h4> </td> </tr> @@ -44,4 +43,4 @@ </t> </template> </data> -</odoo>
\ No newline at end of file +</odoo> |
