Fix copy for remove of product_ids of complete_lines
This commit is contained in:
1 parent
33f9b26ac2
commit
973ef1e96d
1 file changed
+1
-3
+1
-3
@@ -118,9 +118,7 @@ class Inventory(ModelWorkflow, ModelSQL, ModelView):
|
||||
'inventory': new_id,
|
||||
'move': False,
|
||||
}, context=context)
|
||||
self.complete_lines(cursor, user, new_id,
|
||||
product_ids=[x.product.id for x in inventory.lines],
|
||||
context=context)
|
||||
self.complete_lines(cursor, user, new_id, context=context)
|
||||
new_ids.append(new_id)
|
||||
|
||||
if int_id:
|
||||
|
||||
Reference in new issue
Block a user