Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd

Hi, I'm new in Odoo14

With the code below I want the Admin account in Settings/Users & Companies/Users to be invisible if the one that logged in as a non-admin user, and with the code below it works. How to do it so that the Admin account will still be visible if the one that logged in as an Admin user?


<record id="base.action_res_users" model="ir.actions.act_window">        

    <field name="domain">[('id', '!=', 2)]field>    

record>


Thanks. 

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
apr. 23
5214
3
mei 24
7834
2
mei 24
9131
1
okt. 22
3257
1
jan. 22
11923