跳至內容
選單
此問題已被標幟
1 回覆
3387 瀏覽次數


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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
2月 24
1841
0
2月 24
10
3
3月 24
1908
1
10月 23
2064
2
3月 24
5600