跳至内容
菜单
此问题已终结
2 回复
5540 查看

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. 

形象
丢弃
最佳答案

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

形象
丢弃
最佳答案

Hi, 

You can follow following link for this:

https://youtu.be/GPhgxxwprA4

Hope it helps,

Thanks

形象
丢弃
相关帖文 回复 查看 活动
0
3月 24
1515
2
7月 23
1705
0
1月 20
4942
4
10月 18
4016
2
11月 16
4872