[12.0][IMP] - Improve unit tests

This commit is contained in:
sbejaoui
2019-09-30 14:16:51 +02:00
committed by Ilyas
parent c16bf2fe2e
commit 423dc4531b
5 changed files with 29 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
# Copyright 2019 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
import logging
from openupgradelib import openupgrade
_logger = logging.getLogger(__name__)
def migrate(cr, version):
xmlids_to_rename = [
(
'product_contract.account_analytic_account_recurring_form_form',
'product_contract.contract_contract_customer_form_view',
)
]
openupgrade.rename_xmlids(cr, xmlids_to_rename)