mirror of
https://bitbucket.org/presik/trytonpsk-sale_pos.git
synced 2023-12-14 07:13:02 +01:00
minor fix
This commit is contained in:
parent
31533c7916
commit
6eb096f309
1 changed files with 1 additions and 1 deletions
2
sale.py
2
sale.py
|
@ -562,7 +562,7 @@ class Sale(metaclass=PoolMeta):
|
|||
|
||||
if invoice.invoice_type in ('P', 'M', 'C') or (
|
||||
hasattr(invoice, 'cufe') and invoice.cufe):
|
||||
if sale.shop.workflow_invoice == 'validated':
|
||||
if 1:# sale.shop.workflow_invoice == 'validated':
|
||||
Invoice.write([invoice], {'state': 'validated'})
|
||||
else:
|
||||
sale = cls.process_pos(sale)
|
||||
|
|
Loading…
Reference in a new issue