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

Hi community.

When i checked Odoo 12 website app, i have seen that some features can be enabled or disabled from the menu "Customize". How can i include my custom feature inside that menu item.Is it required any JavaScript functions?

Thanks in advance

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

Hi,

There is no need of any JavaScript function for the above purpose.You just need to add customize_show="True" and name to your template.

For example

 <template id="your_template_id" inherit_id="inherit_id" name="Template name" active="True" customize_show="True">

If you give active="True" then your template will active by default in the customize menu

Regards

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

Thanks its worked

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 25
6134
2
thg 12 22
6112
0
thg 9 22
803
1
thg 5 21
15868
1
thg 4 21
4583