changeset 136f549bbc50 in modules/account_asset:default details: https://hg.tryton.org/modules/account_asset?cmd=changeset&node=136f549bbc50 description: Clear revisions when duplicating asset
issue11274 review380401002 diffstat: asset.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (11 lines): diff -r 2d59fd720798 -r 136f549bbc50 asset.py --- a/asset.py Tue Apr 19 23:24:03 2022 +0200 +++ b/asset.py Tue Apr 19 23:24:18 2022 +0200 @@ -695,6 +695,7 @@ default.setdefault('number', None) default.setdefault('supplier_invoice_line', None) default.setdefault('move') + default.setdefault('revisions', []) return super(Asset, cls).copy(assets, default=default) @classmethod