Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3827 Vizualizări

I create a new group "testgroup" with only one member "testuser".

Now from the "new leave request" view I try to hide a field:

<field name="number_of_days_temp" class="oe_inline" groups="base.testgroup"/>

But it is not working.

What should I write instead of groups="base.testgroup"?

If I use a standard group like groups="base.group_hr_manager" everything is working fine. The problem is only with the groups I create.

Imagine profil
Abandonează
Cel mai bun răspuns

Hi....

Syntax is not correct, you should specify groups in this manner "module.group_name"

For instance:

groups="base.group_hr_manager"  ==> means 'group_hr_manager' is present in module 'base'

like wise for "testgroup", it should be "your_module.testgroup" instead of "base.testgroup"

 

 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 19
10463
0
sept. 24
953
0
feb. 24
5
0
feb. 24
6
3
nov. 23
14503