コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6353 ビュー

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
2229
1
12月 22
3396
2
8月 21
3061
1
8月 21
2622
1
10月 24
954