Allow the export of paid invoices.
This commit is contained in:
parent
4b0fbb1580
commit
bde969a880
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue