Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
2310 Ansichten

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



Avatar
Verwerfen
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.

Beste Antwort

thx alot

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Aug. 25
227
4
Mai 25
2765
2
Mai 25
6192
1
März 25
1842
4
März 25
4763