Skip to Content
Menu
This question has been flagged
2 Replies
5132 Views

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

Hi, 

You can follow following link for this:

https://youtu.be/GPhgxxwprA4

Hope it helps,

Thanks

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 24
1137
2
Jul 23
1420
0
Jan 20
4580
4
Oct 18
3716
2
Nov 16
4500