Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions openupgrade_scripts/apriori.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
# only used here for upgrade_analysis
merged_models = {
# odoo
"ir.model.access": "ir.access",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"ir.rule": "ir.access",
this too

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why? typically, Odoo reuses the xmlid of the ir.model.access record

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here doesn't say merging xmlids, it's about the model. The commit odoo/odoo@77c17e7 explicitly says that ir.rule is changed to ir.access. And in odoo/odoo@26cc6ac, ir.rule is removed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, this is just to compare, to get a nice analysis. Of course, in the migration scripts, we should probably do something, an script, but not pure merging.

# OCA/...
}
Loading