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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
4835
查看
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
9月 15
|
8303 | ||
|
2
6月 25
|
2411 | ||
|
0
7月 23
|
2335 | ||
|
1
4月 23
|
10240 | ||
|
0
10月 22
|
2891 |