changeset 547822f452ce in modules/purchase:default details: https://hg.tryton.org/modules/purchase?cmd=changeset&node=547822f452ce description: Clear employee fields on copy
issue10209 review357511002 diffstat: purchase.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diffs (12 lines): diff -r 7696480efae5 -r 547822f452ce purchase.py --- a/purchase.py Sat Apr 03 23:30:21 2021 +0200 +++ b/purchase.py Mon Apr 05 16:24:13 2021 +0200 @@ -735,6 +735,8 @@ default.setdefault('moves', None) default.setdefault('shipment_state', 'none') default.setdefault('purchase_date', None) + default.setdefault('quoted_by') + default.setdefault('confirmed_by') return super(Purchase, cls).copy(purchases, default=default) def check_for_quotation(self):