Odoo Help


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

on 5/2/15, 7:38 AM 7,410 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)--

| 3 3 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.

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

2 follower(s)


Asked: 5/2/15, 7:38 AM
Seen: 7410 times
Last updated: 11/8/17, 6:24 AM