Skip to Content
Menu
This question has been flagged
2 Replies
2889 Views

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


Avatar
Discard
Best Answer

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

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

Avatar
Discard
Best Answer

You can return like this,

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


Avatar
Discard
Related Posts Replies Views Activity
2
Mar 24
568
0
Feb 24
1191
0
Jan 23
699
1
Nov 22
1756
0
Aug 22
1050