Skip to Content
मेन्यू
This question has been flagged
3 Replies
10317 Views

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

Avatar
Discard
Author

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"

Best Answer

Add to YOUR model

_order = "YOUR FIELD"

It will sort by YOUR FIELD

Avatar
Discard

Thanks @Vasiliy it's worked perfectly for me. :)

Author Best Answer

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()

 

Avatar
Discard
Best Answer

Hello,

Perhaps, i don't understand your need but  Order in list view and go to kanban view.

Avatar
Discard
Related Posts Replies Views Activity
1
मार्च 24
2527
1
जन॰ 25
1761
1
जन॰ 24
2183
1
दिस॰ 22
3374
0
अग॰ 22
2639