Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
7685 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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
อวตาร
ละทิ้ง
ผู้เขียน

Yes, I know. What's the sol?

คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
ผู้เขียน

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 19
4401
7
มี.ค. 25
10573
3
พ.ค. 24
5339
1
มิ.ย. 25
36248
3
ส.ค. 23
6947