[FIX] Bug of referencing variable on split in production lot
bzr revid: jvo@tinyerp.com-20090603072114-efzlf5rca3wtcznr
This commit is contained in:
@@ -77,6 +77,7 @@ def _track_lines(self, cr, uid, data, context):
|
||||
'product_uos_qty': uos_qty,
|
||||
}
|
||||
new_move = []
|
||||
production_ids = []
|
||||
for idx in range(int(move.product_qty//quantity)):
|
||||
if idx:
|
||||
current_move = move_obj.copy(cr, uid, move.id, {'state': move.state, 'production_id': move.production_id.id})
|
||||
|
||||
Reference in New Issue
Block a user