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!
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: 4072 times|
|Last updated: 3/27/15, 6:38 PM|