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

Hi, I have created a survey in odoo10 version and i need to create a question with option combobox.
How can do this... can any one help me....  Thanks Everyone.

Avatar
Verwerfen
Beste Antwort

Do you mean selection field in odoo ? see the example

Write In python file

question5 =  fields.Selection([('internal_value1', 'Value2'), ('internal_value2', 'Value2'),('internal_value3', 'Value3'), ], string='Question 5',)

Write in xml

<field name="question5"/>

It will display as a combo box


Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Sept. 15
8419
1
Aug. 25
2503
1
Aug. 25
3493
2
Juni 25
2471
1
Apr. 23
10291