Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3408 Vues

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
Ignorer
Meilleure réponse

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

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

Avatar
Ignorer
Meilleure réponse

You can return like this,

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


Avatar
Ignorer
Publications associées Réponses Vues Activité
3
juil. 25
4318
0
mai 25
884
2
mars 24
2158
0
janv. 23
1748
1
nov. 22
3203