[MIG] contract_mandate: Migration to 14.0

This commit is contained in:
hkapatel
2021-06-28 17:30:52 +05:30
parent 367cdec166
commit 378f3b9f12
3 changed files with 3 additions and 2 deletions

View File

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