Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4806 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
zář 15
8280
2
čvn 25
2365
0
čvc 23
2299
1
dub 23
10186
0
říj 22
2872