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
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
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
Code :-
<field name="partner_id" invisible="context.get('active_model')!='student.student'"/>
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
0
Eyl 23
|
41 | |||
|
4
Mar 23
|
19118 | |||
|
2
Tem 22
|
5613 | |||
|
0
May 22
|
3802 | |||
|
1
Kas 21
|
20431 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.