Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
9471 Zobrazení

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
Zrušit

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

Nejlepší odpověď

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
Zrušit

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 Odpovědi Zobrazení Aktivita
1
čvc 25
387
1
čvn 25
1026
0
kvě 25
1139
2
dub 25
3141
1
úno 25
1348