Browse Source

Merge pull request #1583 from Eficent/12.0-add-module_auto_update-migration-scripts

[12.0][ADD] module_auto_update: migration scripts to v12
pull/1593/merge
Pedro M. Baeza 6 years ago
committed by GitHub
parent
commit
78b18bf6c0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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