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.
I would like to create a graph for a dashboard showing the company debtors, but with the number of debtors our company has the graph becomes un-readable pretty fast. Is there a way to limit the number of records shown in a graph? I have tried the standard:
which works fine on tree views, but doesn't seem to have any effect on graphs.
Any ideas on how I could achieve something like this?
Well to answer my own question, I've ended up just creating a new class which I fill up with a database query in the init method. That way I can limit the entries using
SELECT xxxxx FROM xxxxx LIMIT xx
And then display them in their own graph view.
Still would be interested if anyone has a shorter way of achieving the same thing...
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: 7/3/13, 8:34 PM|
|Seen: 1180 times|
|Last updated: 3/16/15, 8:10 AM|