Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3724 Zobrazení

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?

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 17
3794
2
úno 21
6635
2
srp 17
5044
0
říj 18
6412
1
srp 17
3206