changeset a995d155ed70 in modules/account_invoice_stock:6.4
details:
https://hg.tryton.org/modules/account_invoice_stock?cmd=changeset&node=a995d155ed70
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 8c5654338fec -r a995d155ed70 account.py
--- a/account.py Mon May 02 17:11:19 2022 +0200
+++ b/account.py Wed May 11 23:16:13 2022 +0200
@@ -80,7 +80,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):