Compare commits

..

1 commit

Author SHA1 Message Date
Mathias Behrle
78367854f7 Allow the export of paid invoices. 2025-02-11 09:28:59 +01:00

View file

@ -125,7 +125,7 @@ class RunXRechnungReport(Wizard):
def do_export(self, action):
""" run export
"""
if self.start.state not in ['paid', 'posted']:
if self.start.state not in {'paid', 'posted'}:
raise UserError(gettext(
'account_invoice_xrechnung.msg_invoice_must_posted',
invname=self.start.invoice.rec_name))