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.
In the tree view , i wann to display only one latest record from each user . Currently is displays all the records created by default , now i have added a group filter by month , it shows all the records of the month , but not single record of each user .
How to achieve this .
Sounds like you need a new model with two fields:
user_id: many2one to res.users
latest_record: functional field related to the model you want
In the function code for the functional field, you can return the record ID of the latest record for the relational model, based on whatever logic you want to put in there. You could then create a normal tree view for this new model, and it should effectively give you what you want.
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/27/14, 9:32 AM|
|Seen: 1020 times|
|Last updated: 3/16/15, 8:10 AM|