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


Hi, I need help in Odoo 16 I found on odoo forum that you can use <t groups="module.group_name" > to replace the old <field name=" groups_id" when inheriting a view I want to use that to set attributes invisible on a page and readonly on fields for specific groups. Does someone have an idea about that? I already checked with different users and groups to see if it works but nothing

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can provide groups attribute on the page tag


eg:


<page string="String" name="name" groups="your_group">


Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.พ. 24
2749
0
ก.พ. 24
10
3
มี.ค. 24
2674
1
ต.ค. 23
2729
2
มี.ค. 24
6504