Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6476 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน

Thanks its worked

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 25
6115
2
ธ.ค. 22
6101
0
ก.ย. 22
803
1
พ.ค. 21
15854
1
เม.ย. 21
4560