Odoo Help

0

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

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

2

Jérémy Kersten (jke)

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

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.

Register

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)

Stats

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