Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3097 Vizualizări

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

 


Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează

Code :-

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

Related Posts Răspunsuri Vizualizări Activitate
0
sept. 23
41
4
mar. 23
16912
2
iul. 22
3777
0
mai 22
2066
1
nov. 21
18468