跳至內容
選單
此問題已被標幟
2 回覆
5323 瀏覽次數

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
1333
2
7月 23
1565
0
1月 20
4814
4
10月 18
3829
2
11月 16
4717