Split process method to avoid create/write in loop
issue10801 review372071002
This commit is contained in:
1 parent
a1b1ee02bc
commit
0d3b4a75c3
1 file changed
-1
@@ -26,7 +26,6 @@ class Purchase(order_mixin('purchase'), metaclass=PoolMeta):
|
||||
move = component.get_move(move_type)
|
||||
if move:
|
||||
moves.append(move)
|
||||
Move.save(moves)
|
||||
return moves
|
||||
|
||||
@get_shipments_returns('stock.shipment.in')
|
||||
|
||||
Reference in new issue
Block a user