コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3155 ビュー

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'"/>

関連投稿 返信 ビュー 活動
0
9月 23
41
4
3月 23
17020
2
7月 22
3850
0
5月 22
2134
1
11月 21
18521