summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRucha (Open ERP) <rpa@tinyerp.com>2011-08-11 18:39:46 +0530
committerRucha (Open ERP) <rpa@tinyerp.com>2011-08-11 18:39:46 +0530
commit2f04d3a6c435db217dd30bf2b8ebe49eecc13f5b (patch)
tree7d12f25177e4b6877372ff3499ceb7a120b1b66f
parentb1b6ea82e6cf10d8aeae4f82c6cfd1d2fbf92231 (diff)
[FIX]: stock: Corrected value while processing pickings for the products with costing method avg price
bzr revid: rpa@tinyerp.com-20110811130946-02yv7v5i8bbdwrlg
-rw-r--r--addons/stock/wizard/stock_partial_picking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/wizard/stock_partial_picking.py b/addons/stock/wizard/stock_partial_picking.py
index 421bcae10ba..b3c2c52b59f 100644
--- a/addons/stock/wizard/stock_partial_picking.py
+++ b/addons/stock/wizard/stock_partial_picking.py
@@ -127,7 +127,7 @@ class stock_partial_picking(osv.osv_memory):
if pick_type == 'in':
move_memory.update({
- 'cost' : picking.product_id.standard_price,
+ 'cost' : picking.price_unit,
'currency' : picking.product_id.company_id and picking.product_id.company_id.currency_id and picking.product_id.company_id.currency_id.id or False,
})
return move_memory