跳至內容
選單
此問題已被標幟
2 回覆
3418 瀏覽次數

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
4364
0
5月 25
900
2
3月 24
2163
0
1月 23
1755
1
11月 22
3213