Browse Source

[FIX] Add migration scripts to v12

pull/1583/head
mreficent 6 years ago
parent
commit
e7c4a3e806
  1. 5
      module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis.txt
  2. 8
      module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis_work.txt
  3. 12
      module_auto_update/migrations/12.0.2.0.5/post-migration.py

5
module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis.txt

@ -0,0 +1,5 @@
---Fields in module 'module_auto_update'---
---XML records in module 'module_auto_update'---
NEW ir.actions.server: module_auto_update.ir_module_module_upgrade_changed_checksum
DEL ir.cron: module_auto_update.module_check_upgrades_cron (noupdate)
NEW ir.ui.menu: module_auto_update.menu_ir_module_module_upgrade_changed_checksum

8
module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis_work.txt

@ -0,0 +1,8 @@
---Fields in module 'module_auto_update'---
---XML records in module 'module_auto_update'---
NEW ir.actions.server: module_auto_update.ir_module_module_upgrade_changed_checksum
NEW ir.ui.menu: module_auto_update.menu_ir_module_module_upgrade_changed_checksum
# NOTHING TO DO
DEL ir.cron: module_auto_update.module_check_upgrades_cron (noupdate)
# DONE: pots-migration: deleted xmlid safely

12
module_auto_update/migrations/12.0.2.0.5/post-migration.py

@ -0,0 +1,12 @@
# Copyright 2019 Eficent <http://www.eficent.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade
@openupgrade.migrate()
def migrate(env, version):
openupgrade.delete_records_safely_by_xml_id(
env, [
'module_auto_update.module_check_upgrades_cron',
],
)
Loading…
Cancel
Save