Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
4642 Näkymät

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
huhtik. 15
11292
1
tammik. 25
1268
0
heinäk. 22
2374
3
syysk. 20
3047
1
maalisk. 16
4439