Monday, March 24, 2025
4 changes · saas-17.4
Resolved issues and error corrections
Fixed an issue in the website editor where button styling could be removed after opening and closing the link editing tool. This keeps buttons visually intact while editing pages, reducing confusion and accidental layout changes.
Original PR description
**Problem**: When destroying the link tool, if an `<a>` tag with `btn` classes has no `href`, it gets unwrapped. This visually removes the button, leaving only its text content. While this has no effect on normal links, it makes buttons appear to disappear when closing the tool. **Solution**: Prevent unwrapping buttons (`<a>` with `btn` classes) when the link tool is destroyed. **Steps to Reproduce**: 1. Open the website editor. 2. Add "Blocks" > "Features" > "Items". 3. Click inside a button to show the link tool. 4. Click outside the editable area. 5. Click inside the button again. - **Issue**: The button disappears, leaving only text. **opw-4574401** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When a recruitment offer is sent for signature, the resulting signing request is now linked back to the original offer. This helps HR teams keep offer records complete and easier to track after both parties sign.
Original PR description
Steps to reproduce: 1. In recruitment app, generate an offer for an applicant. 2. Send the offer by email and sign it by both parties. Bug: The generated sign request is not linked to the offer using the reference_doc field. Fix: Link the offer to the sign request upon creation in the submit endpoint. task-4607475
Approval requests now show eligible request owners from all currently selected companies, even when no approval category has been chosen. This prevents users from seeing an empty owner list and helps them complete approval requests without unnecessary blockers.
Original PR description
Fixed the `Request Owner` field to list all users in the selected companies. The previous domain was based on `company_id`, which was computed from the selected `category_id`. However, if no category was selected (`category_id` was null), no `request_owner_id` was listed. The new fix computes all selected companies from `self.env`. task-4637199
This update corrects an internal test so it only runs when the dropshipping feature it depends on is available. It helps avoid misleading test failures and keeps quality checks focused on valid scenarios.
Original PR description
The test requires `stock_dropshipping` to be installed to have sense, but the condition set to avoid the test running without it was insufficient. Since it was only checking on a string in the database, it wouldn't raise a ValueError, but just not find any matching record, thus running the test even without the module installed.