diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-05-26 18:52:45 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-05-26 18:52:45 +0200 |
| commit | 0b52d097ea4e1fba9f84c988eae8975ef5a831a8 (patch) | |
| tree | ce0c0ae446287c1c83f92338e725a1c35faf5fc9 /addons | |
| parent | 7046c2fbe63bf727cd86442116b2079969251543 (diff) | |
| parent | 5e4f1f5ab325c3446de68a933e54049c9771e541 (diff) | |
[MERGE] forward port of branch saas-11 up to 5e4f1f5
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/stock_account/stock_account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock_account/stock_account.py b/addons/stock_account/stock_account.py index e98161804d4..798e8fdda5d 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: |
