bugfixed for split moves

lp bug: https://launchpad.net/bugs/343713 fixed

bzr revid: hda@hda-20090318103832-za523s43m6csd5k1
This commit is contained in:
husen daudi
2009-03-18 16:08:32 +05:30
parent 292bc5214c
commit 412e074980
+1 -1
View File
@@ -97,7 +97,7 @@ def _track_lines(self, cr, uid, data, context):
new_move.append(current_move)
else:
current_move = move.id
new_prodlot = prodlot_obj.create(cr, uid, {'name': sequence, 'ref': '%d'%idx})
new_prodlot = prodlot_obj.create(cr, uid, {'name': sequence, 'ref': '%d'%idx}, {'product_id': move.product_id.id})
update_val['prodlot_id'] = new_prodlot
move_obj.write(cr, uid, [current_move], update_val)