Tuesday, February 6, 2024
2 changes · master
Resolved issues and error corrections
This fix prevents an error that could occur when users click detected fields after OCR processing a vendor bill. It helps keep the invoice upload and review flow stable for accounting users using document recognition.
Original PR description
This commit addresses the missing props declaration in the BoxLayer component. The following changes were made: - Added the previously omitted onClickBoxCallback props definition. - Corrected the validation method for the pageLayer props. Steps to reproduce: 1. Open Accounting with an IAP OCR setup in debug mode. 2. Navigate to Vendor Bills > Upload (Choose a scanned PDF or picture). 3. Wait for the OCR process to complete. 4. Click inside a detected field => Traceback.
A field service test tour now accounts for the setup prompt that appears when no worksheet templates exist. This prevents automated checks from failing in empty or freshly configured databases, improving reliability without changing normal user workflows.
Original PR description
…template Steps to reproduce: - start TestIndustryFsmUi python test after removing all your worksheet templates. Source: - A wizard was added to create a worksheet template if there is no worksheet template. So this wizard doesn't usually appear and when it appears there is no step in the tour to handle it. Fix: - An additional step was added to the tour to verify if the wizard exist and choose to create a new template. task-3716386 X-original-commit: https://github.com/odoo/enterprise/commit/2b1c2af82d1fbb4286d4eb16f156f5e1092c17b8