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
5335 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ść
0
mar 24
1336
2
lip 23
1565
0
sty 20
4814
4
paź 18
3830
2
lis 16
4718