Skip to content

Commit

Permalink
[IMP] board: Complete migration scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobaeza committed Jun 6, 2021
1 parent 7579055 commit 8c17dfe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions openupgrade_scripts/scripts/board/14.0.1.0/pre-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

@openupgrade.migrate()
def migrate(env, version):
openupgrade.rename_xmlids(
env.cr, [("board.access_board_board all", "board.access_board_board_all")]
)
openupgrade.set_xml_ids_noupdate_value(
env,
"board",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---XML records in module 'board'---
NEW ir.model.access: board.access_board_board_all
DEL ir.model.access: board.access_board_board all
# NOTHING TO DO: noupdate="0" records
# DONE: Rename XML-ID

ir.ui.menu: board.menu_board_my_dash (noupdate switched)
# DONE: pre-migration: switched to noupdate = "0"
# DONE: pre-migration: switched to noupdate = "0"

0 comments on commit 8c17dfe

Please sign in to comment.