Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
5151 Prikazi

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 

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
apr. 15
11763
1
jan. 25
1868
0
jul. 22
2955
3
sep. 20
3574
1
mar. 16
5030