Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
2289 Visninger

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



Avatar
Kassér
Forfatter

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.

Bedste svar

thx alot

Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
aug. 25
215
4
maj 25
2757
2
maj 25
6178
1
mar. 25
1837
4
mar. 25
4746