تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3048 أدوات العرض

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
أبريل 23
5374
3
مايو 24
8042
2
مايو 24
9418
1
أكتوبر 22
3488
1
يناير 22
12168