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
此问题已终结
3
回复
11767
查看
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
|
4085 | ||
|
|
1
1月 25
|
4183 | ||
|
|
1
1月 24
|
4410 | ||
|
|
1
12月 22
|
5387 | ||
|
|
0
8月 22
|
4377 |
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"