Skip to content

Commit

Permalink
[IMP] base: vacuum of transient models
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow committed Apr 5, 2024
1 parent 09d9649 commit 39a322e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openupgrade_scripts/scripts/base/16.0.1.3/pre-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ def migrate(cr, version):
enable_coupon_sharing_within_entity(cr)
openupgrade.update_module_names(cr, renamed_modules.items())
openupgrade.update_module_names(cr, merged_modules.items(), merge_modules=True)
# restricting inherited views to groups isn't allowed any more
openupgrade.clean_transient_models(cr)
# restricting inherited views to groups isn't allowed anymore
cr.execute(
"DELETE FROM ir_ui_view_group_rel r "
"USING ir_ui_view v "
Expand Down

0 comments on commit 39a322e

Please sign in to comment.