Wednesday, April 9, 2025
5 changes · saas-18.2
Resolved issues and error corrections
This fixes an issue where PDF signature checks could fail because the signing time was generated at slightly different moments. By using the same signing time for the expected and actual signature, tests and signature generation become more reliable without changing user-facing behavior.
Original PR description
so that the expected and actual signature match the signing time needs to match too , any slight delay between the date generation would fail the test build_error-134224
This fixes a shop page error that could occur when someone manually changed a product URL to use a category that does not exist. Visitors will no longer hit a server error in this edge case, improving storefront reliability.
Original PR description
Currently, an error occurs when the category ID is manually changed in the website URL. Steps to Reproduce: --- - Install the `website_sale` application - Website > Shop > Select any category > Open any product - Change category ID in URL(eg: category=91) Traceback: --- ValueError: Cannot slug non-existent record product.public.category() At [1], an error occurs when adding a manual category ID because it does not exist in the `product.public.category` model, resulting in an empty return when browsing it. [1]- https://github.com/odoo/odoo/blob/74aa68d159b0708b09495956d23d51e3acef9bb5/addons/website_sale/controllers/main.py#L669 sentry-6407561181 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixes an issue in Mail Groups where clicking "read more" could leave some quoted sections hidden or trigger an error. Users should now see the full quoted content reliably when expanding messages.
Original PR description
Problem 1: The js selects only the first element with the html data-o-mail-quote attribute but there may be more than one. Thus, some elements were not displayed when user clicked on the "read more" button. Now, they are all displayed when the user clicks on this one. Problem 2: The js selects an element with the html data-o-mail-quote attribute and try to use js attributes of the returned object but this one can be null. Then the error occurs. From now, we use its attributes if its is not null. Problem 3: The add method of classList contains spaces. Now, the list of classes is split by commas. Part-of: odoo/odoo#190032 Backport of: https://github.com/odoo/odoo/commit/37303f505c4486766822f9012b257b24ff19543a
PDF signing requests now open more cleanly on mobile by keeping the sidebar closed by default. This makes documents easier to view and control on smaller screens, while desktop users continue to see the thumbnail sidebar by default.
Original PR description
### Before this commit: If a pdf file is open on mobile, the sidebar is open and it is hard to control. ### After this commit: If the app is open on mobile, the sidebar is not open. Otherwise, it is open and the page modes is thumbs by default. task-4626059
Appointment booking links now use hyphens instead of underscores and avoid duplicate link conflicts. This makes shared booking URLs easier to read and helps ensure each appointment configuration gets a working, unique link.
Original PR description
1. Replace "_" with "-" for name generation. eg. "appointment_with me" to "appointment-with-me"
2. Generate a unique link.
Case 1: generate "-" based link when no link exists for the appointment eg. "/schedule-a-demo".
Case 2: if a link exists for the appointment -> generate random code if appointment name based short code is
already used in another configuration.
Task-4610207