From 378f3b9f12da5b6f260c39e98f7ec419c455e408 Mon Sep 17 00:00:00 2001 From: hkapatel Date: Mon, 28 Jun 2021 17:30:52 +0530 Subject: [PATCH] [MIG] contract_mandate: Migration to 14.0 --- contract_mandate/__manifest__.py | 2 +- contract_mandate/readme/CONTRIBUTORS.rst | 1 + contract_mandate/tests/test_contract_mandate.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contract_mandate/__manifest__.py b/contract_mandate/__manifest__.py index 32e5150b7..7fbf700ee 100644 --- a/contract_mandate/__manifest__.py +++ b/contract_mandate/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Contract Mandate", "summary": "Mandate in contracts and their invoices", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "author": "Odoo Community Association (OCA), " "Tecnativa", "website": "https://github.com/OCA/contract", "depends": ["contract_payment_mode", "account_banking_mandate"], diff --git a/contract_mandate/readme/CONTRIBUTORS.rst b/contract_mandate/readme/CONTRIBUTORS.rst index ceb56b4dc..31d78fffe 100644 --- a/contract_mandate/readme/CONTRIBUTORS.rst +++ b/contract_mandate/readme/CONTRIBUTORS.rst @@ -1,3 +1,4 @@ * Carlos Dauden * Thomas Binsfeld * Guillermo Llinares +* Helly kapatel diff --git a/contract_mandate/tests/test_contract_mandate.py b/contract_mandate/tests/test_contract_mandate.py index 5fd349137..5ae92dbf8 100644 --- a/contract_mandate/tests/test_contract_mandate.py +++ b/contract_mandate/tests/test_contract_mandate.py @@ -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)