mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_payment_sale: Adapt tests to 18489012
The expected one is to not have partner bank set, as we don't want the invoice is printed with such bank account forced.
This commit is contained in:
committed by
Atchuthan Ubendran
parent
38482e4395
commit
f8f9ac888c
@@ -95,4 +95,4 @@ class TestSaleOrder(CommonTestCase):
|
||||
invoice = order.invoice_ids
|
||||
self.assertEqual(len(invoice), 1)
|
||||
self.assertEqual(invoice.payment_mode_id, self.payment_mode_2)
|
||||
self.assertEqual(invoice.partner_bank_id, self.bank)
|
||||
self.assertFalse(invoice.partner_bank_id)
|
||||
|
||||
Reference in New Issue
Block a user