Tuesday, February 11, 2025
4 changes · master
Resolved issues and error corrections
This update cleans up and renames internal test helper files so they are handled correctly by the automated test system. It helps improve reliability of quality checks across accounting, planning, signing, localization, and related business workflows without changing day-to-day user features.
This fix restores missing internal markers on customized behavior so Odoo handles those processes consistently. It helps avoid subtle issues in recruitment referrals, subscription closing, and enterprise web behavior without changing how users work day to day.
Original PR description
Some overrides are missing the decorator from the definition. odoo/odoo#196923
The Sign app's email notification test now works consistently even when demo data is turned off. This helps prevent false test failures and keeps quality checks reliable across different setup configurations.
Original PR description
fixed `test_sign_request_notification` to work when demo data is disabled. - Ensure `self.env.user.email` is set before triggering email-related assertions. - Use `formataddr` for consistency in `assertSentEmail` to match the expected sender format. This ensures the test properly validates email notifications regardless of demo data availability.
The Sign app's Sample Document button now opens the example document instead of showing an error. This removes a blocker for users trying to preview or test the signing workflow.
Original PR description
Version: - 18.2 Steps to reproduce: 1. Open the Sign app. 2. Click the "Sample Document" button. Issue: - A traceback error occurs. Cause: - The method name used in the `onclick` event does not match the actual method name. Solution: - Correct the `onclick` method name to properly call the `onClickSampleSign` method.