Daily updates from Odoo
Tuesday, August 6, 2024
1 change · master
Enhancements to existing features
Accounting reports can now be configured so users can adjust several filters before refreshing the report. This helps companies with large databases avoid repeated waiting times while keeping the current instant-refresh behavior as the default for others.
Original PR description
Add a feature that enables companies to select multiple filters in an accounting report before reloading the data of the report. This feature can be activated by selecting the boolean field 'Deferred…
Add a feature that enables companies to select multiple filters in an accounting report before reloading the data of the report. This feature can be activated by selecting the boolean field 'Deferred options reload' in the form view of the accounting report. On any report, as it is now, the whole report gets refreshed when giving a value to a single option filter. It is very nice on small databases, but on bigger ones might sometimes make the flow more painful for the user if she needs to change the value of multiple filters (e.g. select a journal => wait 10 seconds for the reload => select a partner => wait 10 more seconds). For those big databases, we'd like to have the possibility to have a button under the filters triggering the recompute of the report; hence not doing it immediately when an option is checked. However, we don't want that for all the dbs, as it would then add one click for all the users of small databases, who don't have any issue. Therefore, the chosen solution is rather to support both cases, and add a boolean option on the account.report (in the form view) allowing to switch to this "deferred computation mode". By default, it won't be enabled, and the historical behavior will apply. task-3263762