Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3847 Lượt xem


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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

You can provide groups attribute on the page tag


eg:


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


Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 24
2725
0
thg 2 24
10
3
thg 3 24
2652
1
thg 10 23
2711
2
thg 3 24
6474