Wednesday, April 2, 2025
2 changes · saas-18.2
Resolved issues and error corrections
Automated actions that rely on a delay now calculate the timing in the correct direction. This prevents actions from running at the wrong moment when a relative delay is configured, improving reliability for scheduled business workflows.
Original PR description
The offset is incorrectly added, but it should be subtracted. The offset if positive to indicate after some delay, so we must use `now - relative_offset`. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue in the HTML editor where toggle block titles could be moved out of place when editing content inside a div container. This keeps formatted content structured correctly and prevents confusing editing behavior for users.
Original PR description
There was an issue with toggle block titles when the `baseContainer` of the editor was a `div`: the title was moved after the toggle block because the `div` was not properly considered as a paragraph-related element. What happens is that the normalization to set the `o-paragraph` class on a `div` element is done as the last step of the normalization phase, to allow other plugins to assign custom features to a neutral `div` which would prevent it from being a `o-paragraph`. Therefore, normalize functions which depends on that class should also have the `Infinity` sequence, and depend on the `baseContainer` plugin, which is what is done in this commit to fix the issue. task-4678392