Reviewers: ,


Please review this at http://codereview.tryton.org/663003/

Affected files:
  M move.py


Index: move.py
===================================================================

--- a/move.py
+++ b/move.py
@@ -99,7 +99,8 @@
             elif (move.to_location.type != 'storage'  # XXX from_location?
                     and move.to_location.type != 'supplier'
                     and move.product.cost_price_method == 'fifo'):
-                move._update_fifo_out_product_cost_price()
+                move._update_fifo_out_product_cost_price(
+ move.product, move.quantity, move.uom, move.effective_date)
             move.save()

         super(Move, cls).do(moves)



--
--
[email protected] mailing list

--- You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to