跳至内容
菜单
此问题已终结
1 回复
2814 查看

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


形象
丢弃
最佳答案

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.

形象
丢弃
编写者

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

相关帖文 回复 查看 活动
3
4月 24
2634
0
10月 18
2281
0
4月 20
3596
0
10月 19
2895
5
8月 25
9840