Skip to Content
Menu
This question has been flagged
2 Replies
2314 Rodiniai

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



Portretas
Atmesti
Autorius

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.

Best Answer

thx alot

Portretas
Atmesti
Best Answer

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
rugp. 25
238
4
geg. 25
2782
2
geg. 25
6205
1
kov. 25
1846
4
kov. 25
4776