Skip to content
Snippets Groups Projects
Commit 0b52d097 authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[MERGE] forward port of branch saas-11 up to 5e4f1f5a

parents 7046c2fb 5e4f1f5a
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment