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

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
8月 25
5352
1
7月 25
1984
2
7月 23
1906
4
10月 18
4261
2
11月 16
5092