This question has been flagged
1 Reply
1657 Views

Hello everyone

I hope you're all safe.

I am using Odoo 12, and every time I update my modules, the website design is changed on some areas (for instance footer).

I am using a custom theme and I know there is a way to prevent files related to website structure from being updated when we update modules, but do not know how to do it.

Can anyone help me please?

Thank you very much in advance

Best regards

PM


Avatar
Discard
Best Answer

The best way is to create a module with your customizations. Web pages in Odoo are QWeb views and can be inherited like any others.

Avatar
Discard
Author

Dear Ermin Trevisan, thank you very much. It's great to "hear" (read) from you.

This is exactly the problem. I am already using a custom module which is the base for my module, and I know how inheritance works in Odoo, but do not know how to make a template "noupdatable".

For instance, I know I can use "noupdate= "1 or 0"" for most of data "record" tags, but it seems not to work with templates.

Is this "noupdate" the way to go???? Is so, I will keep working on it since the problem can be somewhere else.

Thank you once again

Kind regards

PM