ad0bbb395a2baff012d65caab79e860c049b8ac1
In a list view containing n records, apply or remove a filter. Then edit the pager to reduce the limit to m, with m < n. Before this commit, the pager was indeed updated, but the list still contained the same number of records as before applying the filter. This was due to a kanban specific logic to handle the "load more" feature. We stored the number of loaded records, and forced the limit to be at least that number. This commit fixes the issue by changing the way the "Load more" works. Instead of loading the "limit" next records (i.e. with a limit and an offset), we now reload the previously loaded records + the "limit" next ones (i.e. we leave the offset to 0, and increase the limit). This also prevent potential weird behaviors where the same record appears twice, or records are skipped, when the recordset changes between the first load and the first load more, or between 2 load more. closes odoo/odoo#109693 X-original-commit: 217d1191750d03918055610ba0e61f0f7522f475 Signed-off-by: Géry Debongnie <ged@odoo.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%