changeset 0f55e8010557 in modules/account_invoice_history:default
details:
https://hg.tryton.org/modules/account_invoice_history?cmd=changeset;node=0f55e8010557
description:
Allow to write numbered_at after posting
It may happen that the numbered_at was not filled on posting because
the module
was not activated.
issue8907
review288671002
diffstat:
account.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r df291cd3e033 -r 0f55e8010557 account.py
--- a/account.py Wed Dec 04 11:09:35 2019 +0100
+++ b/account.py Wed Dec 18 21:35:22 2019 +0100
@@ -31,6 +31,7 @@
@classmethod
def __setup__(cls):
super(Invoice, cls).__setup__()
+ cls._check_modify_exclude.append('numbered_at')
cls.party.datetime_field = 'numbered_at'
if 'numbered_at' not in cls.party.depends:
cls.party.depends.append('numbered_at')