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

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

形象
丢弃
相关帖文 回复 查看 活动
1
7月 25
1853
2
7月 23
1792
0
1月 20
5020
4
10月 18
4137
2
11月 16
4972