Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
5560 Visninger

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. 

Avatar
Kassér
Bedste svar

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

Avatar
Kassér
Bedste svar

Hi, 

You can follow following link for this:

https://youtu.be/GPhgxxwprA4

Hope it helps,

Thanks

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
mar. 24
1534
2
jul. 23
1716
0
jan. 20
4950
4
okt. 18
4024
2
nov. 16
4885