Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4965 Vistas

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.

Avatar
Descartar

Ever get an answer to this?

Autor

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.

Mejor respuesta

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.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 25
989
4
ene 25
2849
0
nov 24
573
1
nov 24
1201
0
oct 24
930