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

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

相关帖文 回复 查看 活动
2
7月 25
6071
2
12月 22
6058
0
9月 22
803
1
5月 21
15843
1
4月 21
4530