minor fix
This commit is contained in:
parent
91ecb9d217
commit
0d34903250
|
@ -434,7 +434,7 @@ class FinishInvoices(Wizard):
|
|||
if channel_id != channel.id:
|
||||
continue
|
||||
Invoice.validate_invoice([inv])
|
||||
if inv.invoice_type not in ('C', 'P', 'M'):
|
||||
if inv.invoice_type not in ('C', 'P', 'M') and inv.electronic_state != 'authorized':
|
||||
Invoice.submit([inv])
|
||||
if not inv.cufe:
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue