Skip to Content
Menu
This question has been flagged
3 Replies
7684 Rodiniai

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.

Portretas
Atmesti
Best Answer

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
Portretas
Atmesti
Autorius

Yes, I know. What's the sol?

Best Answer

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.

Portretas
Atmesti
Autorius

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

Related Posts Replies Rodiniai Veikla
1
rugs. 19
4401
7
kov. 25
10572
3
geg. 24
5338
1
birž. 25
36248
3
rugp. 23
6947