[FIX] account_check_printing: adapt test

Avoid having vendor bills and supplier refunds in the same payment
batch.
This commit is contained in:
Christophe Simonis
2019-05-07 14:35:12 +02:00
parent 106dffe479
commit 691bfde022
@@ -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',
})