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

I have set domain in second field by onchange of one field. but after page refresh, domain get lost as sets by onchane and again we need to update first field to get domain in second filed. What's the sol? I am using Odoo-v8.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Rakesh,

That is the behavior of the onchange. The domain will be there until you refresh / change the page.

Sudhir Arya
ERP Harbor Consulting Services
skype: 
sudhir@erpharbor.com  website: http://www.erpharbor.com
Ảnh đại diện
Huỷ bỏ
Tác giả

Yes, I know. What's the sol?

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

Hey Rakesh,

you can use fields_view_get for this.

see the link:

\https://www.odoo.com/forum/help-1/question/how-to-update-domain-set-in-fields-view-get-54408

Thanks.

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

Hi. I have already tried this. But when we navigate record by arrows then this method does not call.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 19
4382
7
thg 3 25
10478
3
thg 5 24
5307
1
thg 6 25
36200
3
thg 8 23
6918