Skip to Content
Menu
This question has been flagged
1 Reply
3953 Views

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
Discard
Best Answer

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
Discard
Author

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.

Author

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.

Related Posts Replies Views Activity
0
Apr 20
1749
3
Aug 18
9292
3
Jul 17
9178
5
Nov 24
43703
1
Aug 24
326