Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2302 Lượt xem

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



Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Câu trả lời hay nhất

thx alot

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 25
222
4
thg 5 25
2763
2
thg 5 25
6182
1
thg 3 25
1838
4
thg 3 25
4756