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

I added this group in my module i need to hide configuration of time off when this group is checked  despite this user still Adminstrator of time off

<record id="group_hr_leave_valiator" model="res.groups">
<field name="name">HR Leave Validator</field>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
</record>


Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Remove the existing user groups from the configuration menu and add your user group to this menu. So that only users in this group will see the menu.

<record id="hr_holidays.menu_hr_holidays_configuration" model="ir.ui.menu">
<field name="groups_id" eval="[(5,0), (4, ref('module_name.group_hr_leave_valiator'))]"/>
record>



Thanks

Imagine profil
Abandonează