[FIX] point_of_sale: receipt report, discount is a percentage
The discount on a pos order line is a percentage, not an amount in the order currency. opw-665524
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<span t-esc="formatLang(net(line.id), currency_obj=res_company.currency_id)"/>
|
||||
</t>
|
||||
<t t-if="line.discount != 0.0">
|
||||
<span t-esc="formatLang(line.discount, currency_obj=res_company.currency_id)"/>
|
||||
<span t-esc="line.discount"/>%
|
||||
</t>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user