跳至内容
菜单
此问题已终结
3 回复
10339 查看

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

形象
丢弃
编写者

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"

最佳答案

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