changeset 3850c94384b8 in modules/account_invoice_history:5.0
details:
https://hg.tryton.org/modules/account_invoice_history?cmd=changeset;node=3850c94384b8
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:
invoice.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 47360c35fd25 -r 3850c94384b8 invoice.py
--- a/invoice.py Mon Jun 10 19:13:30 2019 +0200
+++ b/invoice.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')