Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2511 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 24
2258
0
thg 10 18
2044
0
thg 4 20
3317
0
thg 10 19
2557
1
thg 6 25
554