Remove the product_cost_fifo.diff patch because it causes movement problems
when comparing the "fifo" quantity with the quantity. #040337
This commit is contained in:
parent
b0b215d051
commit
969b484f5c
|
@ -1,13 +0,0 @@
|
|||
diff --git a/move.py b/move.py
|
||||
index 88b2280..239b3c1 100644
|
||||
--- a/trytond/trytond/modules/product_cost_fifo/move.py
|
||||
+++ b/trytond/trytond/modules/product_cost_fifo/move.py
|
||||
@@ -61,7 +61,7 @@ class Move(metaclass=PoolMeta):
|
||||
cost_price += move_unit_price * Decimal(str(move_qty))
|
||||
|
||||
move_qty = Uom.compute_qty(self.product.default_uom, move_qty,
|
||||
- move.uom, round=False)
|
||||
+ move.uom, round=True)
|
||||
move.fifo_quantity = (move.fifo_quantity or 0.0) + move_qty
|
||||
to_save.append(move)
|
||||
if to_save:
|
1
series
1
series
|
@ -75,6 +75,5 @@ statement_of_account.diff # [account] Cumulate balance of previous fiscal years
|
|||
# issue3209.diff # [production] Allocate cost based on list price of each product
|
||||
# issue260381003_284691002.diff # Update cost of moves when recomputing product cost price
|
||||
# issue8690.diff # Set company context in product instance
|
||||
product_cost_fifo.diff # [product_cost_fifo] Use round in compute_qty of move_qty
|
||||
stock_supply.diff # [stock_supply] Force rounding in the quantity of internal shipment moves
|
||||
issue9103.diff # [trytond] User-defined reports for custom template extensions
|
||||
|
|
Loading…
Reference in New Issue