跳至內容
選單
此問題已被標幟
1 回覆
4991 瀏覽次數

When editing templates through the html editor on the website (in Odoo 13), the following warning is displayed on top of the editor:

If you edit and save this file, you will never receive updates from Odoo anymore unless you reset your customizations.

Now my question is: is there a way to reset customizations?

The reason I ask is I'm regularly running into errors when updating Odoo. These may be caused by templates that were modified manually, so I'd like to get rid of these manual changes if possible.

頭像
捨棄

Ever get an answer to this?

作者

Not really.
I think the cause of my issue was someone changed (a year or two prior) the inheritance-relationship between certain base views in a way that was not really OK. An update of Odoo then broke the situation for some reason.
As we were planning to replace our websites anyway, I fixed the situation in the following way:
* Uninstall the Website module
* Correct the view-relationships. ( by installing the same modules in a clean database and then comparing. A bit of a painstaking exercise)
* Reinstall the website module
I do not have all the details anymore.
As for the original question, I suspect there is no real process to reset customizations. They probably mean you should manually undo whatever changes were made to the base views.

最佳答案

So for anyone that finds this later I fixed mine by:
*  Reviewing logs to find ID of view that caused error.
*  Activate developer mode
*  Go to technical -> User Interface -> Views
*  Filter by ID for the offending ID from step 1
*  Near the "Key" field you will see a tree icon (looks more like a networking tree). click on it
*  That will bring up the "view tree" for that view (shows all related)
*  Delete suspect related view(s)

I did this on stage environment first obviously, but it allowed me to identify the issue pretty quickly.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
1月 25
1016
4
1月 25
2884
0
11月 24
586
1
11月 24
1249
0
10月 24
952