mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[12.0][IMP] - Improve unit tests
This commit is contained in:
18
product_contract/migrations/12.0.2.0.0/pre-migration.py
Normal file
18
product_contract/migrations/12.0.2.0.0/pre-migration.py
Normal 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)
|
||||
Reference in New Issue
Block a user