changeset 025254220f89 in modules/account_invoice_stock:6.0
details: 
https://hg.tryton.org/modules/account_invoice_stock?cmd=changeset&node=025254220f89
description:
        Add correction field to the modify exclusion list

        issue11475
        review441081003
        (grafted from 6a9eee6df649dda4a91d379af4de448ef8688846)
diffstat:

 account.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ac7693bca21b -r 025254220f89 account.py
--- a/account.py        Mon May 03 15:51:22 2021 +0200
+++ b/account.py        Wed May 11 23:16:13 2022 +0200
@@ -66,7 +66,7 @@
     @classmethod
     def __setup__(cls):
         super().__setup__()
-        cls._check_modify_exclude.add('stock_moves')
+        cls._check_modify_exclude.update(['stock_moves', 'correction'])
 
     @classmethod
     def default_correction(cls):

Reply via email to