Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
9330 Visualizações

Why there is some fields which are visible only when debug mode is activate (like remaining_leaves ) ? and if i want to create a field like that how can'I do it

Avatar
Cancelar

How does odoo determine which field is too technical to be visible on the form?

Melhor resposta

Hello

base.group_no_one group assign on the field that's why the field is visible only when the debug mode is activate.

for your field if you want to do same then assign the group on your field

like <field name="your_fieldname" groups="base.group_no_one"/>

Avatar
Cancelar

Indeed! And the reasoning (functionally) behind this is that Odoo believes that some fields are too technical or used too little to be visible on the form for everybody.

Hello there!
Mega should have reversed the code you wrote.

Groups are not visible in debug=0.

Is there a way to make this visible?

Publicações relacionadas Respostas Visualizações Atividade
1
jun. 25
689
0
mai. 25
830
2
abr. 25
2839
1
fev. 25
1107
2
fev. 25
1774