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

Example i have 5 fields 

my last 5th field depended other fields 

like this 

First Fields is Department selection is IT Department Account Department Etc ....

In Department is Selection like Software Section / Hardware Selection in IT Department 

In Selection Designation Software Engineer etc etc ....

if any of value miss show all employee list ... in my employee field


アバター
破棄
最善の回答

You can return a domain in onchange of your fields. eg:

return {'domain': {'field_name': [domain]}}

アバター
破棄
最善の回答

You can return like this,

return {'domain':{'field_name': [('field_name', '=', self.field_name)]}}


アバター
破棄
関連投稿 返信 ビュー 活動
3
7月 25
4351
0
5月 25
898
2
3月 24
2163
0
1月 23
1754
1
11月 22
3211