Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
5703 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июл. 25
1860
2
июл. 23
1793
0
янв. 20
5023
4
окт. 18
4143
2
нояб. 16
4973