mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG] contract_mandate: Migration to 14.0
This commit is contained in:
@@ -57,7 +57,7 @@ class TestContractMandate(TestContractBase):
|
||||
self.assertEqual(new_invoice.mandate_id, self.mandate2)
|
||||
|
||||
def test_contract_mandate_default(self):
|
||||
self.payment_mode.mandate_required = False
|
||||
self.payment_mode.payment_method_id.mandate_required = False
|
||||
self.contract_with_mandate.mandate_id = False
|
||||
new_invoice = self.contract_with_mandate.recurring_create_invoice()
|
||||
self.assertFalse(new_invoice.mandate_id)
|
||||
|
||||
Reference in New Issue
Block a user