Skip to Content
Menú
This question has been flagged
2 Respostes
2288 Vistes

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



Avatar
Descartar
Autor

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.

Best Answer

thx alot

Avatar
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
0
d’ag. 25
213
4
de maig 25
2757
2
de maig 25
6178
1
de març 25
1837
4
de març 25
4746