From b5ce8582aae8ef24e6f503e74a69caa19cfaa810 Mon Sep 17 00:00:00 2001 From: Mathias Behrle Date: Mon, 10 Feb 2025 12:21:01 +0100 Subject: [PATCH] Allow the export of paid invoices. --- wizard_runreport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard_runreport.py b/wizard_runreport.py index 708954c..a372ee5 100644 --- a/wizard_runreport.py +++ b/wizard_runreport.py @@ -125,7 +125,7 @@ class RunXRechnungReport(Wizard): def do_export(self, action): """ run export """ - if self.start.state != '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))