コンテンツへスキップ
メニュー
この質問にフラグが付けられました

In Odoo.sh, I am currently following the UPGRADE process to migrate from Odoo v13 to 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_blog.s_latest_posts

Most of these errors are caused by the third party template on version 13.

How to deal with (Theme-) templates which are not existing anymore in the destination (v15) version but used as inherited template in the current version (v13)?

For example:

website_blog.s_latest_posts.xml is existing in the official src/odoo/addons in v13 but not in v15. And I have custumized this template using inherit:

      

The "third party theme" module "third_party_theme" inherits from it:

     

and other of my custom templates which inherit from third_party_theme 's template:

  

And because the website_blog.s_latest_posts.xml is not existing anymore in v15, during the migration process (odoo.sh), such an error occurs: ValueError: External ID not found in the system: website_blog.s_latest_posts

I have heard about pre-migrate scripts to handle views during migration process: https://www.youtube.com/watch?v=n0jQQlEnUUQ but i can t figure out how to migrate views as described above (pre-migrate.py, post-migrate.py and end-migrate.py) as described in https://github.com/OCA/OpenUpgrade/blob/15.0/openupgrade_scripts/scripts


アバター
破棄

english is the only language accepted here (for ease of sharing)
NO ANSWER TO BE EXPECTED SO FAR

著作者

Thank you Thomas Guénard, i have translated it

関連投稿 返信 ビュー 活動
0
10月 23
3045
0
1月 24
1256
1
4月 25
2366
0
7月 23
2116
2
6月 24
4304