Skip to Content
Menú
This question has been flagged
2 Respostes
5548 Vistes

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
Descartar
Best Answer

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
Descartar
Best Answer

Hi, 

You can follow following link for this:

https://youtu.be/GPhgxxwprA4

Hope it helps,

Thanks

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de març 24
1515
2
de jul. 23
1708
0
de gen. 20
4944
4
d’oct. 18
4016
2
de nov. 16
4872