[FIX] point_of_sale: wrong pricelist price on receipt

Before this fix, we had the wrong origin price when we were using
pricelist not showing discount and additionnal discount. The price was
the main one of the product instead of the price with pricelist applied.

Task-Id: 2025886

closes odoo/odoo#35644

Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
This commit is contained in:
Robin Heinz
2019-08-12 11:00:10 +00:00
committed by Pierre Masereel
parent e0d18f222e
commit 95c8e55232
+1 -1
View File
@@ -816,7 +816,7 @@
<t t-esc="line.price_with_tax_before_discount" />
</t>
<t t-else="">
<t t-esc="line.price_lst" />
<t t-esc="line.price" />
</t>
</value>
</left>