mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
[FIX] stock_picking_report_valued: price_reduce is stored with product decimal precision
This commit is contained in:
committed by
Sergio Teruel
parent
f4fa234fe5
commit
ceb5634c8c
@@ -64,7 +64,8 @@ class StockMoveLine(models.Model):
|
||||
"""
|
||||
for line in self:
|
||||
taxes = line.sale_tax_id.compute_all(
|
||||
price_unit=line.sale_line.price_reduce,
|
||||
price_unit=line.sale_line.price_subtotal / (
|
||||
line.sale_line.product_uom_qty or 0.0),
|
||||
currency=line.currency_id,
|
||||
quantity=line.qty_done or line.product_qty,
|
||||
product=line.product_id,
|
||||
|
||||
Reference in New Issue
Block a user