Compare commits

..

1 commit

Author SHA1 Message Date
Mathias Behrle
b5ce8582aa Allow the export of paid invoices. 2025-02-10 12:21:01 +01:00

View file

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