[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:
parent
e5f2bb638a
commit
a54802bad5
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue