diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-11-23 11:25:33 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2018-12-03 09:57:07 +0000 |
| commit | cba55c12e469fb1d870b83762677a33c36227f60 (patch) | |
| tree | 7e6829aa0c8d347eb15864e0198f2a5f0aa954a6 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | e0b1718e4a1ab641f56fef242ae1d6c13254b53c (diff) | |
[FIX] account: 'Load More' on Manual Reconciliation
In case there is a large amount of data to display, the 'Manual
Reconciliation' widget suffers from high CPU consumption, and therefore
slowness.
This is mainly due to the line rendering (function `_renderLines`).
Indeed, unlike the 'Bank Statement Reconciliation' widget which
retrieves the data partially, the 'Manual Reconciliation' widget
retrieves and renders all the data. No offset is implemented in this
case, neither for data retrieval nor rendering.
With this commit, we implement a partial rendering of the data
retrieved. This means that all data are fetched when loading the widget,
but only a part of it is rendered. We make use of the existing 'Load
More' mechanism to display more data. By default, 30 accounts or
partners are loaded.
By combining this with PR #28958, we aim to make the widget more usable
for large data volumes.
opw-1903575
closes odoo/odoo#28959
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
