Skip to content

Commit

Permalink
Merge pull request #2817 from ForgeFlow/14.0-mig-iap
Browse files Browse the repository at this point in the history
[14.0][MIG] iap
  • Loading branch information
pedrobaeza authored Jul 19, 2021
2 parents 3758460 + bac33a3 commit 731e402
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules130-140.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Module coverage 13.0 -> 14.0
+--------------------------------------------+-------------------------------------------------+
| |del| hw_proxy | Merged into hw_drivers |
+--------------------------------------------+-------------------------------------------------+
|iap | |
|iap | Done |
+--------------------------------------------+-------------------------------------------------+
| |new| iap_crm | |
+--------------------------------------------+-------------------------------------------------+
Expand Down
15 changes: 15 additions & 0 deletions openupgrade_scripts/scripts/iap/14.0.1.1/pre-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2021 ForgeFlow S.L. <https://www.forgeflow.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.set_xml_ids_noupdate_value(
env,
"iap",
[
"user_iap_account",
],
True,
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---Models in module 'iap'---
---Fields in module 'iap'---
---XML records in module 'iap'---
ir.rule: iap.user_iap_account (noupdate) (noupdate switched)
# DONE: pre-migration: switched noupdate

NEW ir.ui.view: iap.tests_assets
# NOTHING TO DO

0 comments on commit 731e402

Please sign in to comment.