[MIG] contract_price_revision: Migration to 15.0

This commit is contained in:
Carolina Fernandez
2023-09-28 07:42:40 -03:00
committed by Juanjo
parent 83b369c838
commit 5e5c12efbd
10 changed files with 36 additions and 24 deletions

View File

@@ -1,6 +1,7 @@
# Copyright 2019 Tecnativa - Vicent Cubells
# Copyright 2019 Tecnativa - Carlos Dauden
# Copyright 2020 ACSONE SA/NV
# Copyright 2023 Tecnativa - Carolina Fernandez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo.addons.contract.tests.test_contract import TestContractBase
@@ -20,7 +21,7 @@ class TestContractPriceRevision(TestContractBase):
)
def execute_wizard(self):
self.wizard.with_context({"active_ids": [self.contract.id]}).action_apply()
self.wizard.with_context(active_ids=self.contract.id).action_apply()
def test_contract_price_revision_wizard(self):
# This is for checking if this line is not versioned