Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4 Replies
7659 Tampilan

I have a custom field as Company Name in a model and in another view of another model i want the values entered  in company name field to show up as a drop down list. I have defined another field as select company and made it Many2one and mentioned the model in which company name is present but the drop down list is empty. How can i populate this company name values? I mean i have given the model name in many2one field but how does odoo know what values to populate with? Do i have to do anything?

Avatar
Buang

it populates the selection with the values that are in the field named "name".

Penulis

what if there is already a field named name? how can i make it to populate other field items?

Jawaban Terbai

You could simply add widget="selection" where you want the company names to populate

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
5
Agu 19
9329
3
Apr 19
6627
1
Mar 19
10475
1
Mar 15
12213
2
Mei 22
18048