changeset 1d5a61304e66 in modules/account_invoice_history:5.2
details:
https://hg.tryton.org/modules/account_invoice_history?cmd=changeset;node=1d5a61304e66
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
(grafted from 0f55e80105571861a25f554d0c83c152a70ff01c)
diffstat:
account.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r bdd16b44698f -r 1d5a61304e66 account.py
--- a/account.py Mon May 06 14:56:14 2019 +0200
+++ b/account.py Wed Dec 18 21:35:22 2019 +0100
@@ -15,6 +15,7 @@
@classmethod
def __setup__(cls):
super(Invoice, cls).__setup__()
+ cls._check_modify_exclude.append('open_date')
cls.party.datetime_field = 'open_date'
if 'open_date' not in cls.party.depends:
cls.party.depends.append('open_date')