Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
2309 Vistas

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.

Mejor respuesta

thx alot

Avatar
Descartar
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 25
227
4
may 25
2765
2
may 25
6188
1
mar 25
1841
4
mar 25
4761