Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6455 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

Thanks its worked

Powiązane posty Odpowiedzi Widoki Czynność
2
lip 25
6072
2
gru 22
6058
0
wrz 22
803
1
maj 21
15843
1
kwi 21
4531