Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3417 Zobrazení

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
Zrušit
Nejlepší odpověď

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

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

Avatar
Zrušit
Nejlepší odpověď

You can return like this,

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


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvc 25
4352
0
kvě 25
900
2
bře 24
2163
0
led 23
1754
1
lis 22
3213