Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3798 Vues


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
Ignorer
Meilleure réponse

Hi,

You can provide groups attribute on the page tag


eg:


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


Regards

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
févr. 24
2652
0
févr. 24
10
3
mars 24
2555
1
oct. 23
2651
2
mars 24
6391