Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3769 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
mars 17
3834
2
févr. 21
6685
2
août 17
5076
0
oct. 18
6423
1
août 17
3238