Friday, December 30, 2022
1 change · master
Enhancements to existing features
Bank reconciliation is being redesigned so users can continue working while validation and line suggestions happen in the background. This should make the process feel faster, reduce waiting time, and preserve users' selections during a session.
Original PR description
The goal is to reach true async action and make the code leaner, faster and smaller. ### Goals: - remove all the onchanges, they block the UI - store data for the record in client side, so the…
The goal is to reach true async action and make the code leaner, faster and smaller. ### Goals: - remove all the onchanges, they block the UI - store data for the record in client side, so the selected states and search items are kept in a session. - make it possible to have matching components without transaction list, so it can be done for a single record (to be discussed) - get rid of unnecessary overhead of kanban view ### Async actions: - When click on validate (or check and validate), the system goes to the next record and does reconciliation in background. When done, the record will be updated in background. If something went wrong or extra input is required from the user, the record would be highlighted. - If the result of an async operation is not received yet, there would be a warning for the user before navigating to other places or closing the page. - All the updates of the page should be done locally, global update should be avoided as much as possible - Loading suggested lines should be done asynchronously, so when the user clicks on a transaction, the suggested lines are not displayed immediately, but a loading indicator is displayed or they will be filled progressively. Task #[3077519](https://www.odoo.com/web?debug=1#id=3077519&menu_id=4720&cids=1&action=333&active_id=967&model=project.task&view_type=form)