[FIX] website_sale: the price per line display a wrong reduction if the tax is include
This commit is contained in:
parent
718c94cb48
commit
d9e0997ffd
|
@ -683,15 +683,15 @@
|
|||
<div class="text-muted" t-field="line.name"/>
|
||||
</td>
|
||||
<td class="text-center" name="price">
|
||||
<t t-if="(line.price_unit - line.price_reduce) > 1">
|
||||
<t t-if="(compute_currency(line.product_id.lst_price) - line.price_unit) > 1">
|
||||
<del class="text-danger" style="white-space: nowrap;"
|
||||
t-field="line.price_unit" t-field-options='{
|
||||
t-field="line.product_id.lst_price" t-field-options='{
|
||||
"widget": "monetary",
|
||||
"from_currency": "line.company_id.currency_id",
|
||||
"display_currency": "user_id.partner_id.property_product_pricelist.currency_id"
|
||||
}'/>&nbsp;
|
||||
</t>
|
||||
<span t-field="line.price_reduce" style="white-space: nowrap;" t-field-options='{
|
||||
<span t-field="line.price_unit" style="white-space: nowrap;" t-field-options='{
|
||||
"widget": "monetary",
|
||||
"display_currency": "user_id.partner_id.property_product_pricelist.currency_id"
|
||||
}'/>
|
||||
|
|
Loading…
Reference in New Issue