تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
7634 أدوات العرض

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
سبتمبر 19
4332
7
مارس 25
10351
3
مايو 24
5252
1
يونيو 25
36111
3
أغسطس 23
6892