[FIX] account: price_unit report decimal precision
Before this commit, the unit price in the invoice's reports, had the same decimal precision as the currency and not the one specified for the unit prices. Now, the reports shows the unit prices with their specific decimal precision. opw-1940406 closes odoo/odoo#31314
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
<span t-field="line.uom_id" groups="uom.group_uom"/>
|
||||
</td>
|
||||
<td t-attf-class="text-right {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
|
||||
<span t-field="line.price_unit" t-options='{"widget": "monetary", "display_currency": o.currency_id}'/>
|
||||
<span t-field="line.price_unit"/>
|
||||
</td>
|
||||
<td t-if="display_discount" t-attf-class="text-right {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
|
||||
<span t-field="line.discount"/>
|
||||
|
||||
Reference in New Issue
Block a user