[FIX] account: test typo forward-port 3e4b9d4d66
also reference_type is removed from the model b5bb5bd42
closes #28536
This commit is contained in:
@@ -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},
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user