Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
7636 Zobrazení

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.

Avatar
Zrušit
Nejlepší odpověď

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
Avatar
Zrušit
Autor

Yes, I know. What's the sol?

Nejlepší odpověď

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.

Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
1
zář 19
4333
7
bře 25
10361
3
kvě 24
5254
1
čvn 25
36116
3
srp 23
6893