[FIX] stock: when delivering a product in average cost, make sure the price_unit...
authorMartin Trigaux <mat@openerp.com>
Wed, 30 Apr 2014 10:28:47 +0000 (12:28 +0200)
committerMartin Trigaux <mat@openerp.com>
Wed, 30 Apr 2014 10:28:47 +0000 (12:28 +0200)
commitc16d0fc4561c9a7c26997b9159b204ab1e795445
tree1537b5abf2e76f98ff59acaa61d0fe1702fb2a32
parentc43fdfe32b52e2c770cb2f74c367361562cf04ec
parent37c41f9c78ef7ef2eab0f1cd74f907cbe824c95c
[FIX] stock: when delivering a product in average cost, make sure the price_unit on the stock.move is up to date (opw 607272)

The price mentioned on the stock move from the delivery order is the one at the time of the sale order confirmation. On average price, the price can be different when the delivery is actually done. The price will then be refreshed with the one specified on the product.

bzr revid: mat@openerp.com-20140430102847-o1fzo318rpmq9n1j