[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

@@ -4,7 +4,7 @@
{ {
"name": "Contract Mandate", "name": "Contract Mandate",
"summary": "Mandate in contracts and their invoices", "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", "author": "Odoo Community Association (OCA), " "Tecnativa",
"website": "https://github.com/OCA/contract", "website": "https://github.com/OCA/contract",
"depends": ["contract_payment_mode", "account_banking_mandate"], "depends": ["contract_payment_mode", "account_banking_mandate"],

View File

@@ -1,3 +1,4 @@
* Carlos Dauden <carlos.dauden@tecnativa.com> * Carlos Dauden <carlos.dauden@tecnativa.com>
* Thomas Binsfeld <thomas.binsfeld@acsone.eu> * Thomas Binsfeld <thomas.binsfeld@acsone.eu>
* Guillermo Llinares <guillermo@studio73.es> * Guillermo Llinares <guillermo@studio73.es>
* Helly kapatel <helly.kapatel@initos.com>

View File

@@ -57,7 +57,7 @@ class TestContractMandate(TestContractBase):
self.assertEqual(new_invoice.mandate_id, self.mandate2) self.assertEqual(new_invoice.mandate_id, self.mandate2)
def test_contract_mandate_default(self): 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 self.contract_with_mandate.mandate_id = False
new_invoice = self.contract_with_mandate.recurring_create_invoice() new_invoice = self.contract_with_mandate.recurring_create_invoice()
self.assertFalse(new_invoice.mandate_id) self.assertFalse(new_invoice.mandate_id)