Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
2295 Переглядів

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



Аватар
Відмінити
Автор

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.

Найкраща відповідь

thx alot

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
серп. 25
221
4
трав. 25
2761
2
трав. 25
6179
1
бер. 25
1838
4
бер. 25
4753