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

I would like to make base filed to be a sortable field. Only my knowledge is to check indexed then it will work after restarting odoo service. let's say I want to make "_last_updated" filed to indexed field. so that I will tick the indexed check box to make it sortable. then i need to restart the server and update the one of the base module that taking long time.

Is it the right way or can you suggest some suitable way?

アバター
破棄
最善の回答

Hi,

You can do this in tree view like this.

<tree default_order="your_field_name desc"> for descending order

default_order="your_field_name asc" for ascending order

Thanks

アバター
破棄
関連投稿 返信 ビュー 活動
0
3月 17
3809
2
2月 21
6656
2
8月 17
5062
0
10月 18
6416
1
8月 17
3223