跳至內容
選單
此問題已被標幟
1 回覆
2785 瀏覽次數

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
2617
0
10月 18
2259
0
4月 20
3584
0
10月 19
2854
5
8月 25
9762