Odoo Help


Tree view - Order by date of creation and not by name

on 5/2/15, 7:38 AM 3,745 views

Hi all,

I would like to know if it is possible, to order the customers by creation date and not by name.

I would like to do it on the "Tree View" in the sale part.

Someones has an idea?

Thank you a lot,



Jérémy Kersten (jke)

--Jérémy Kersten (jke)--
Jérémy Kersten (jke)
| 3 2 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 5/2/15, 11:11 AM


You can override the python default order in the tree view

<tree default_order='create_date'>

Perfect! Thank you a lot ;-)

on 5/6/15, 4:01 PM
Djordje Marjanovic
On 5/2/15, 10:24 AM

Just click on the Date column heading for documents to be reordered by date.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/2/15, 7:38 AM
Seen: 3745 times
Last updated: 5/6/15, 3:24 PM