İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3823 Görünümler


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

Avatar
Vazgeç
En İyi Yanıt

Hi,

You can provide groups attribute on the page tag


eg:


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


Regards

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Şub 24
2701
0
Şub 24
10
3
Mar 24
2607
1
Eki 23
2694
2
Mar 24
6439