Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5808 Widoki

In openerp same object used in different List view is it possible to change sorting order (same object) in different list view?.

For Example,

I used "patient.procedure" object in different views

In the Patient Procedure first List view sorting want to shows the order _order = "state desc, procedure_date desc

And In the Patient Procedure second List view sorting want to shows the order _order = "case_no asc, state asc"

how to shows same object in different sorting?...

I tried using inherit object but it changes affect both view...

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

I found how to do it: There is a new feature in odoo 8 which enables to override the default ordering in a listview:

<tree default_order="sequence,name desc">

Found in https://www.odoo.com/documentation/8.0/reference/views.html

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sty 24
1383
1
gru 22
2728
2
sie 21
2360
1
sie 21
1964
1
paź 24
542