set destination_warehouse to none when copy

#065435
This commit is contained in:
Raimon Esteve 2022-10-05 16:31:40 +02:00
parent 65d3fbdcc2
commit d728341290
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ class Production(metaclass=PoolMeta):
default = {}
default['purchase_request'] = None
default['incoming_shipment'] = None
default['destination_warehouse'] = None
return super(Production, cls).copy(productions, default)
@classmethod