Do not copy origin of stock inputs and outputs when duplicate productions
(grafted from d3cb3fa5c777be0e83f45eb2297ce7aaec83caaf) --HG-- branch : 6.0
This commit is contained in:
@@ -664,6 +664,8 @@ class Production(ShipmentAssignMixin, Workflow, ModelSQL, ModelView):
|
||||
default.setdefault('assigned_by')
|
||||
default.setdefault('run_by')
|
||||
default.setdefault('done_by')
|
||||
default.setdefault('inputs.origin', None)
|
||||
default.setdefault('outputs.origin', None)
|
||||
return super(Production, cls).copy(productions, default=default)
|
||||
|
||||
def _get_move_planned_date(self):
|
||||
|
||||
Reference in New Issue
Block a user