Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2907 มุมมอง

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
5266
Dynamic domain for multiple IDs แก้ไขแล้ว
3
พ.ค. 24
7894
dynamic domain in one2many แก้ไขแล้ว
2
พ.ค. 24
9224
1
ต.ค. 22
3304
1
ม.ค. 22
11987