Remove test file

This commit is contained in:
Oscar 2022-02-03 22:40:32 -05:00
parent c69001755a
commit 13f67ecac2
2 changed files with 13 additions and 2052 deletions

File diff suppressed because it is too large Load diff

13
sale.py
View file

@ -2078,3 +2078,16 @@ class SalesCostsReport(Report):
report_context['total_cost'] = total_cost
report_context['total_income'] = total_income
return report_context
class WizardSalePayment(metaclass=PoolMeta):
__name__ = 'sale.payment'
def transition_pay_(self):
res = super(WizardSalePayment, self).transition_pay_()
Sale = Pool().get('sale.sale')
active_id = Transaction().context.get('active_id', False)
sale = Sale(active_id)
if self.start.do_invoice:
Sale.workflow_to_end([sale])
return res