summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRucha (Open ERP) <rpa@tinyerp.com>2011-02-08 17:46:55 +0530
committerRucha (Open ERP) <rpa@tinyerp.com>2011-02-08 17:46:55 +0530
commit7cdc4ced425eb3100bdbe2c5362e8dd9c4e7bf81 (patch)
tree0b2154032d89bc718740984496c9099a5809c6ec
parentf6ac1c8b3a847f58347a3be5c9c257ba82bcf6df (diff)
parentd92c83d632dfb50fc210f7e0495eaf51783070b0 (diff)
[MERGE]: Merge with lp:~openerp-dev/openobject-addons/ron-dev-addons2
bzr revid: rpa@tinyerp.com-20110208121655-nthsxtqq9z3qd0w0
-rw-r--r--addons/stock/stock.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/stock/stock.py b/addons/stock/stock.py
index 74577c13e97..51268eb8fc9 100644
--- a/addons/stock/stock.py
+++ b/addons/stock/stock.py
@@ -1247,9 +1247,9 @@ class stock_picking(osv.osv):
if new_picking:
move_obj.write(cr, uid, [c.id for c in complete], {'picking_id': new_picking})
- for move in complete:
- if prodlot_ids.get(move.id):
- move_obj.write(cr, uid, move.id, {'prodlot_id': prodlot_ids[move.id]})
+ for move in complete:
+ if prodlot_ids.get(move.id):
+ move_obj.write(cr, uid, move.id, {'prodlot_id': prodlot_ids[move.id]})
for move in too_many:
product_qty = move_product_qty[move.id]
defaults = {