changeset 8674ef6010bf in modules/account_invoice_stock:6.2
details: 
https://hg.tryton.org/modules/account_invoice_stock?cmd=changeset&node=8674ef6010bf
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 37e5d666ad9a -r 8674ef6010bf account.py
--- a/account.py        Mon Nov 01 17:17:43 2021 +0100
+++ b/account.py        Wed May 11 23:16:13 2022 +0200
@@ -69,7 +69,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