Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
2305 Weergaven

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



Avatar
Annuleer
Auteur

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.

Beste antwoord

thx alot

Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
aug. 25
226
4
mei 25
2765
2
mei 25
6186
1
mrt. 25
1840
4
mrt. 25
4760