Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
6477 Visualizações

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

Avatar
Cancelar
Melhor resposta

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

Avatar
Cancelar
Autor

Thanks its worked

Publicações relacionadas Respostas Visualizações Atividade
2
jul. 25
6115
2
dez. 22
6101
0
set. 22
803
1
mai. 21
15854
1
abr. 21
4562