Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
9516 Vistas

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
Descartar

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

Mejor respuesta

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
Descartar

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?

Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 25
1942
1
jul 25
596
1
ago 25
1150
0
may 25
1235
2
abr 25
3287