Skip to Content
Menú
This question has been flagged
1 Respondre
3007 Vistes

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
Descartar
Best Answer

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
Descartar

Code :-

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

Related Posts Respostes Vistes Activitat
0
de set. 23
41
4
de març 23
16813
2
de jul. 22
3689
0
de maig 22
1983
1
de nov. 21
18401