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

Whenever I reboot my server after updates, all changes I made to Qweb templates and to views are not saved. In 8 this was no problem, can someone please tell me how I can manage to keep this settings after a reboot. Maybe even after an upgrade?


Thank you!

Avatar
Descartar
Mejor respuesta

Hi,

What kind of updates do you talking about.

If you talk about module updates, it's totally normal, all the xml files are reloaded in the DB. So to keep your settings, you'll have to work with inheritance and overriding. Instead of changing a view dirrectly, create one that inherits form the first.

Additionnally if you have dev skills, create modules.

Hope it helps

Avatar
Descartar
Autor

It does help a bit. The changes you mention, are indeed the changes I mean. I've changed a standard view and a standard report. After reboot they both get back to original state. So there is no way of keeping the edited views and qweb reports on a reboot? I don't mind if they get reloaded on an update. But reboots have never reloaded this in Odoo 8.

@Michael the preffered way to do such modifications is through code by inheriting the existing modules and extending them. I'm going to assume you did the changes on your Odoo in the front-end, through the website? These changes are always cleared / reloaded when you'd do a database update, so not really a safe way to modify your system.

Autor

So no other options? I think this is really bad. Updates that have been done either in front or backend should at least last through reboots. I understand that it will be reset when I upgrade odoo to a newer version (because of incompatibility issues). In Odoo 8 and OpenERP 7 this was possible and would last.

Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 20
2922
3
ago 18
10649
3
jul 17
10758
5
nov 24
47083
1
ago 24
2257