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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
4696
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Sep 15
|
8070 | ||
|
2
Jun 25
|
1961 | ||
|
0
Jul 23
|
1946 | ||
|
1
Apr 23
|
9834 | ||
|
0
Oct 22
|
2621 |