跳至内容
菜单
此问题已终结

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. 

形象
丢弃
相关帖文 回复 查看 活动
0
4月 23
5232
3
5月 24
7855
2
5月 24
9182
1
10月 22
3278
1
1月 22
11963