跳至内容
菜单
此问题已终结
4655 查看

I have programmed a wizard in which it will return a list of employee with custom selection order. However, when i passed to context as : 

   context.update({'group_by': 'department_id',  'default_order': report.order_by})

the default_order does not triggered. I have to modified the search() in the model to get the result. My question is that are there any ways to trigger the order of the list view of a model after i passed in value default_order for the context without modified the search(). Thanks 

形象
丢弃
相关帖文 回复 查看 活动
1
4月 15
11300
1
1月 25
1284
0
7月 22
2401
3
9月 20
3060
1
3月 16
4457