minor fix

This commit is contained in:
fabiand14 2021-04-10 16:26:42 -05:00
parent 31533c7916
commit 6eb096f309

View file

@ -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)