تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4982 أدوات العرض

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
يناير 25
1007
4
يناير 25
2874
0
نوفمبر 24
581
1
نوفمبر 24
1235
0
أكتوبر 24
940