[FIX] account_check_printing: adapt test
Avoid having vendor bills and supplier refunds in the same payment batch.
This commit is contained in:
@@ -34,7 +34,7 @@ class TestPrintCheck(AccountingTestCase):
|
||||
invoice = self.invoice_model.create({
|
||||
'partner_id': self.partner_axelor.id,
|
||||
'name': is_refund and "Supplier Refund" or "Supplier Invoice",
|
||||
'type': is_refund and "in_refund" or "in_invoice",
|
||||
'type': is_refund and "out_refund" or "in_invoice",
|
||||
'account_id': self.account_payable.id,
|
||||
'date_invoice': time.strftime('%Y') + '-06-26',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user