Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3017 Tampilan

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
Buang
Jawaban Terbai

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
Buang

Code :-

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

Post Terkait Replies Tampilan Aktivitas
0
Sep 23
41
4
Mar 23
16838
2
Jul 22
3719
0
Mei 22
2023
1
Nov 21
18414