Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5654 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi, 

You can follow following link for this:

https://youtu.be/GPhgxxwprA4

Hope it helps,

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
1820
2
thg 7 23
1778
0
thg 1 20
5007
4
thg 10 18
4108
2
thg 11 16
4957