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

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
6114
2
12月 22
6099
0
9月 22
803
1
5月 21
15854
1
4月 21
4558