Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
5682 Ansichten

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. 

Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Beste Antwort

Hi, 

You can follow following link for this:

https://youtu.be/GPhgxxwprA4

Hope it helps,

Thanks

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juli 25
1842
2
Juli 23
1779
0
Jan. 20
5012
4
Okt. 18
4124
2
Nov. 16
4964