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

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
Vazgeç
En İyi Yanıt

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
Vazgeç

Code :-

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Eyl 23
41
4
Mar 23
16862
2
Tem 22
3753
0
May 22
2043
1
Kas 21
18446