Skip to Content
Menu
This question has been flagged
3 Replies
9328 Views

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
Discard

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

Best Answer

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
Discard

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?

Related Posts Replies Views Activity
1
Jun 25
683
0
May 25
828
2
Apr 25
2837
1
Feb 25
1106
2
Feb 25
1772