Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Finally, I found a way to manage this, downloading this module:
Then, I overrided the one2many whose order I want to alter, in my case the field was child_ids, and I wanted it to be ordered by email:
'child_ids' : one2many_sorted.one2many_sorted(
Note that the only difference between this field and the one2many is the param order (you can use a couple new more though, search and set).
I also imported the library at the top of the file:
Now, I'm seeing the tree and kanban of res.partner ordered by name, but this one2many is ordered by email. Great!
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/26/13, 1:45 PM|
|Seen: 3962 times|
|Last updated: 3/27/15, 6:38 PM|