تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6460 أدوات العرض

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
يوليو 25
6073
2
ديسمبر 22
6063
0
سبتمبر 22
803
1
مايو 21
15846
1
أبريل 21
4534