Odoo Help

Welcome!

This community 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.

0

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

By
Selverine
on 5/2/15, 7:38 AM 3,214 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,


Selverine        

1

Jérémy Kersten (jke)

--Jérémy Kersten (jke)--
2993
| 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

Hi,

You can override the python default order in the tree view

<tree default_order='create_date'>
    ....
</tree>

Perfect! Thank you a lot ;-)

Selverine
on 5/6/15, 4:01 PM
0
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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