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.
If one wants to group a model by a date, it is possible to specify the interval (year, quarter, month...) by doing field_date:year, field_date:month
But: How to do this with a float field? I have values such as [6.3, 6.5, 8.2, 8,6, 11]. I want to group them in an interval of 2. So I have the classes 6.0-8.0: [6.3, 6.5], 8.0-10.0: [8.2, 8.6], 10.0-12.0: .
This classes should be shown in the list view of my model, if I create the filter such like that: field_float:2.0.
How is it possible to realize it?
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: 11/30/15, 4:54 AM|
|Seen: 353 times|
|Last updated: 11/30/15, 4:54 AM|