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:
@@ -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"],
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user