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

Hi, how can I make a field invisible if it is in another model, and the field I am looking at is in my model

 


Avatar
Ignorer
Meilleure réponse

Hello pavel

You can set the invisible attribute based on context values
You can refer below code
I hope it may help you

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Ignorer

Code :-

<field name="partner_id" invisible="context.get('active_model')!='student.student'"/>

Publications associées Réponses Vues Activité
0
sept. 23
41
4
mars 23
16997
2
juil. 22
3840
0
mai 22
2122
1
nov. 21
18504