Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
2292 Näkymät

i want to use the domain value that return from the onchange method,it don't work,how should I do it?



Avatar
Hylkää
Tekijä

in odoo14,the result of a onchange method can contains three kind of data :value,domain,warning.
i check the code of odoo17,domain value have been removed from the result,how should I do it when i want to use domain in onchange method.

Paras vastaus

thx alot

Avatar
Hylkää
Paras vastaus

Pls specify your related code. Then we can check if we solve it.

By the way, the compute field must be showed on the view otherwise it won't be triggier.  Also you could do invisible on the View.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
elok. 25
221
4
toukok. 25
2761
2
toukok. 25
6179
1
maalisk. 25
1838
4
maalisk. 25
4752