[IMP]: stock: price unit is not stored in the moves when creating inventory

bzr revid: rpa@tinyerp.com-20110811130817-h5olihkxivphu093
This commit is contained in:
Rucha (Open ERP)
2011-08-11 18:38:17 +05:30
parent ce9f1641c5
commit b1b6ea82e6
+1
View File
@@ -2597,6 +2597,7 @@ class stock_inventory(osv.osv):
'product_uom': line.product_uom.id,
'prodlot_id': lot_id,
'date': inv.date,
'price_unit': line.product_id.standard_price
}
if change > 0:
value.update( {