diff --git a/addons/account/tests/test_payment.py b/addons/account/tests/test_payment.py index 353f9dcb310..a061f0c7964 100644 --- a/addons/account/tests/test_payment.py +++ b/addons/account/tests/test_payment.py @@ -426,7 +426,7 @@ class TestPayment(AccountingTestCase): 'invoice_ids': [(4, invoice.id, None)] }) payment.post() - self.check_journal_items(payment.move_line_ids, [ + self.assertRecordValues(payment.move_line_ids, [ {'account_id': self.account_eur.id, 'debit': 0.0, 'credit': 90.0, 'amount_currency': 0.0, 'currency_id': False}, {'account_id': self.account_payable.id, 'debit': 0.0, 'credit': 10.0, 'amount_currency': 0.0, 'currency_id': False}, {'account_id': self.account_receivable.id, 'debit': 100.0, 'credit': 0.0, 'amount_currency': 0.0, 'currency_id': False}, diff --git a/addons/account/tests/test_reconciliation.py b/addons/account/tests/test_reconciliation.py index 14f1d589d86..32d130704e1 100644 --- a/addons/account/tests/test_reconciliation.py +++ b/addons/account/tests/test_reconciliation.py @@ -998,7 +998,6 @@ class TestReconciliation(AccountingTestCase): invoice = self.account_invoice_model.create({ 'partner_id': self.partner_agrolait_id, 'payment_term_id': payment_term.id, - 'reference_type': 'none', 'currency_id': self.currency_usd_id, 'name': 'Multiple payment terms', 'account_id': self.account_rcv.id,