跳至內容
選單
此問題已被標幟
3 回覆
10378 瀏覽次數

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
2601
1
1月 25
1882
1
1月 24
2284
1
12月 22
3447
0
8月 22
2714