Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
8719 Visualizzazioni

Details:

if the default list is [('1','1'),('2','2'),('3','3')]  when onchnage execute 1st time the list will be updated to

list [('4','4'),('5','5'),('6','6')]

and then next will be [('7','7'),('8','8'),('9','9'),('0','0')]  like this.

Avatar
Abbandona
Risposta migliore

Hi, 

You can follow following link for this:

https://youtu.be/GPhgxxwprA4

Hope it helps,

Thanks

Avatar
Abbandona
Risposta migliore

You can't do it with a selection field, onchanges for selection fields and for the rest of the fields it will change the value of the field, not the set of values that can be selected on the value, for others fields like relational ones(o2m, m2o, m2m) you could set a domain to be apply for the field to change the resulting set of values to be selected by returning the domain for the field on the onchange, but the selection field is not the case as it's not a relational field and it will not be affected by domains

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
dic 15
6168
0
mar 15
5904
3
lug 24
4285
1
set 23
4894
2
set 23
12207