[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:
Pedro M. Baeza
2021-07-21 08:44:50 +02:00
parent c94a04a0dc
commit 3911d8c887

View File

@@ -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)