Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2878 Переглядів

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. 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
квіт. 23
5220
3
трав. 24
7845
2
трав. 24
9166
1
жовт. 22
3273
1
січ. 22
11951