changeset 9b68fddbd19e in modules/production:default details: https://hg.tryton.org/modules/production?cmd=changeset&node=9b68fddbd19e description: Clear employee fields on copy
issue10209 review357511002 diffstat: production.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diffs (13 lines): diff -r ccb3348b6e4d -r 9b68fddbd19e production.py --- a/production.py Mon Apr 05 15:43:14 2021 +0200 +++ b/production.py Mon Apr 05 16:24:13 2021 +0200 @@ -651,6 +651,9 @@ else: default = default.copy() default.setdefault('number', None) + default.setdefault('assigned_by') + default.setdefault('run_by') + default.setdefault('done_by') return super(Production, cls).copy(productions, default=default) def _get_move_planned_date(self):