跳至內容
選單
此問題已被標幟
1 回覆
6364 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
1月 24
2231
1
12月 22
3398
2
8月 21
3063
1
8月 21
2623
1
10月 24
955