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.
One of my modules has a kanban view with a couple hundred items to show, but by default I only get 40 at a time and the user has to keep hitting the 'show more (xxx remaining)' button to see everything. What's worse, if the user goes to the form view and then back to the kanban view, s/he has to start over with clicking an the 'show more' button.
Is there any way to increase that limit?
In kanban.js there is a finction init(), Where you find following code :
this.limit = options.limit || 40;
Change the limit value from 40 to the number of records you want to display like :
this.limit = options.limit || 60;
I have made it as 60, Which shows me 60 records at a time.
The correct way of doing this should not imply modifying native code in core modules. This other thread approaches this issue correctly:
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/24/13, 4:43 PM|
|Seen: 3050 times|
|Last updated: 12/3/15, 3:35 PM|