Hi I want to order the kanban view for a particular field.
Example: crm.lead ordered by priority, in view kanban
If someone can give me a hand.
Of course grateful
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
3
回复
10339
查看
Add to YOUR model
_order = "YOUR FIELD"
It will sort by YOUR FIELD
Thanks @Vasiliy it's worked perfectly for me. :)
It does not work, I'm doing something wrong?
class crm_lead(osv.osv):
_name = "crm.lead"
_inherit = "crm.lead"
_order = "priority desc"
crm_lead()
Hello,
Perhaps, i don't understand your need but Order in list view and go to kanban view.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
3月 24
|
2561 | ||
|
1
1月 25
|
1809 | ||
|
1
1月 24
|
2239 | ||
|
1
12月 22
|
3402 | ||
|
0
8月 22
|
2675 |
the kanban are grouped by stage. Need, that order under each stage, with priority ascending Order.
For ascending order use "priority asc" or just "priority"