You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
466 B

  1. # Copyright 2019 ACSONE SA/NV
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  3. import logging
  4. from openupgradelib import openupgrade
  5. _logger = logging.getLogger(__name__)
  6. def migrate(cr, version):
  7. xmlids_to_rename = [
  8. (
  9. 'product_contract.account_analytic_account_recurring_form_form',
  10. 'product_contract.contract_contract_customer_form_view',
  11. )
  12. ]
  13. openupgrade.rename_xmlids(cr, xmlids_to_rename)