İçereği Atla
Menü
Bu soru işaretlendi

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Nis 23
5529
3
May 24
8203
2
May 24
9591
1
Eki 22
3611
1
Oca 22
12328