changeset 7e43bf63a541 in modules/account_invoice:default
details:
https://hg.tryton.org/modules/account_invoice?cmd=changeset;node=7e43bf63a541
description:
Pass period records to super call of close
issue10054
diffstat:
account.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 5adcac2dd899 -r 7e43bf63a541 account.py
--- a/account.py Sat Feb 27 18:16:28 2021 +0100
+++ b/account.py Sat Feb 27 18:38:55 2021 +0100
@@ -157,7 +157,7 @@
raise ClosePeriodError(
gettext('account_invoice.msg_close_period_non_posted_invoices',
invoices=names))
- super().close()
+ super().close(periods)
class InvoiceSequence(sequence_ordered(), ModelSQL, ModelView, MatchMixin):