İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
2318 Görünümler

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



Avatar
Vazgeç
Üretici

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.

En İyi Yanıt

thx alot

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ağu 25
267
4
May 25
2784
2
May 25
6208
1
Mar 25
1847
4
Mar 25
4778