Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3731 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mar. 17
3805
2
feb. 21
6643
2
aug. 17
5051
0
oct. 18
6413
1
aug. 17
3208