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'"/>
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
0
ก.ย. 23
|
41 | |||
|
4
มี.ค. 23
|
19128 | |||
|
2
ก.ค. 22
|
5623 | |||
|
0
พ.ค. 22
|
3806 | |||
|
1
พ.ย. 21
|
20438 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.