2023-01-15

Odoo Upgrade to v15 - OpenUpgrade : dealing with obsolete but inherited views?

I am currently following the UPGRADE process in odoo.sh to migrate to Odoo v15. Because some of the templates have been removed or renamed in v15, I got 100 errors similar to:

ValueError: External ID not found in the system: website_sale.header

Most of these errors are caused by the third party template: "Theme Clarico Vega".

How to deal with (Theme-) templates which are not existing in the destination version? I have heard about pre-migrate scripts to disable views during migration process: https://www.youtube.com/watch?v=n0jQQlEnUUQ but i can t figure out how to manage the steps to handle views (see screen shots in attach). Scripts examples (pre-migrate.py, post-migrate.py and end-migrate.py) are welcome :)

enter image description here enter image description here enter image description here

I have also tried to figure out what to do with the OpenUpgrade informations: https://github.com/OCA/OpenUpgrade/blob/15.0/openupgrade_scripts/scripts/website_blog/15.0.1.1/upgrade_analysis.txt For instance:

---Models in module 'website_blog'---
---Fields in module 'website_blog'---
---XML records in module 'website_blog'---
NEW ir.asset: website_blog.s_blog_posts_000_js
NEW ir.ui.view: website_blog.s_blog_posts
DEL ir.ui.view: website_blog.assets_editor
DEL ir.ui.view: website_blog.assets_frontend
DEL ir.ui.view: website_blog.assets_snippet_s_latest_posts_css_000
DEL ir.ui.view: website_blog.s_latest_posts
DEL ir.ui.view: website_blog.s_latest_posts_big_picture_template
NEW website.snippet.filter: website_blog.dynamic_filter_latest_blog_posts


No comments:

Post a Comment