diff --git a/addons/stock_account/stock_account.py b/addons/stock_account/stock_account.py index e98161804d4b3a5ab04267c7adbfe5a948c52c23..798e8fdda5d4f4e79b4e0466ff3919d336d0e59f 100644 --- a/addons/stock_account/stock_account.py +++ b/addons/stock_account/stock_account.py @@ -439,7 +439,7 @@ class stock_move(osv.osv): tmpl_dict[product_id] = 0 product_avail = qty_available # if the incoming move is for a purchase order with foreign currency, need to call this to get the same value that the quant will use. - price_unit = self.pool.get('stock.move').get_price_unit(cr, uid, move, context=context) + price_unit = move.get_price_unit() if product_avail <= 0: new_std_price = price_unit else: