Thursday, July 6, 2023
2 changes · master
Enhancements to existing features
Documents for invoice, expense, and recruitment extraction can now be picked up directly by the OCR service when ready, reducing delays caused by shared scheduled jobs. This improves responsiveness for SaaS users while keeping an option to disable the new pull mode if needed.
Original PR description
This commit introduces a new way to send documents to databases which can receive POST request from the OCR server. An issue we currently have with SAAS databases is that they share resources for the…
This commit introduces a new way to send documents to databases which can receive POST request from the OCR server. An issue we currently have with SAAS databases is that they share resources for the crons. This means that the cron sending the documents is not immediately launched whenever it is triggered. This leads to waiting longer than it should. The new introduced way is activated when the webhook is reached by setting the config parameter `iap_extract.extract_can_pull` to `'True'`. When active, it allows the user to make its parse request synchronously, and the server will be able to request the document through the newly introduced `request_attachment` route, whenever it is ready. A new field `extract_date_pull_requested` was added to the mixin to determine if we tried to send the file already and for some reason, there was an issue and then disable the `iap_extract.extract_can_pull`. To force disable the pull mode, the user can edit the system parameter and set it to `False`. When set to this value, it is not toggled back to True. task-3263472 odoo/iap-apps#625
Documents users can now use keyboard shortcuts to move through their documents more quickly. This reduces manual clicking and makes everyday document review and organization faster, including when working with document spreadsheets.
Original PR description
This commit add's a new feature that enhances navigation ease by adding a hotkey functionality. Users can now utilize a designated hotkey combination to navigate through the documents effortlessly. Task-3282933