Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5643 Widoki

HI, I want to add dynamic values to Selection field in odoo 12, selection field is present in one2many field and I am passing context for the function to get values. I am able to get the values in function but when I check in front end the selection field is not showing any values. 

Awatar
Odrzuć
Najlepsza odpowiedź

why you don't just use a many2one field with widget 'selection' and you can add domain to check the values available in the one2many only

Awatar
Odrzuć
Najlepsza odpowiedź

Hi, 

You can follow following link for this:

https://youtu.be/GPhgxxwprA4

Hope it helps,

Thanks

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
1814
2
lip 23
1777
0
sty 20
5007
4
paź 18
4097
2
lis 16
4950