[FIX] stock

bzr revid: nel@tinyerp.com-20110110141334-2q4uknw4yvvmhbka
This commit is contained in:
nel@tinyerp.com 2011-01-10 15:13:34 +01:00
parent 16093be68a
commit 5813e0ee20
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class stock_partial_move(osv.osv_memory):
if move.picking_id.type == 'in':
move_memory.update({
'cost' : move.product_id.standard_price,
'currency' : move.product_id.company_id.currency_id.id,
'currency' : move.product_id.company_id and move.product_id.company_id.currency_id and move.product_id.company_id.currency_id.id or False,
})
return move_memory