[FIX] mrp: returns a list of ids, no a list of lists
The super returns a list. Should not use append.
Introduced at 1ab007a
Closes #11708
This commit is contained in:
parent
f609ff39db
commit
79975f008e
|
@ -227,7 +227,7 @@ class StockMove(osv.osv):
|
|||
production_obj.signal_workflow(cr, uid, [prod_id], 'button_produce')
|
||||
if move.production_id.id:
|
||||
self.write(cr, uid, new_moves, {'production_id': move.production_id.id}, context=context)
|
||||
res.append(new_moves)
|
||||
res.extend(new_moves)
|
||||
return res
|
||||
|
||||
def write(self, cr, uid, ids, vals, context=None):
|
||||
|
|
Loading…
Reference in New Issue