Compare commits
1 commit
b5ce8582aa
...
78367854f7
Author | SHA1 | Date | |
---|---|---|---|
![]() |
78367854f7 |
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 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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue