跳至内容
菜单
此问题已终结
2 回复
3394 查看

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
4308
0
5月 25
882
2
3月 24
2154
0
1月 23
1743
1
11月 22
3198