Wednesday, April 2, 2025
5 changes · 17.0
Resolved issues and error corrections
This update prevents Odoo Discuss from keeping warning messages when a video error happens while a video component is being closed. It avoids confusing users with alerts for situations where the video is no longer needed.
Original PR description
Before this commit, it was possible to have a `videoError` caused by (or happening during) the destruction of the video component. This error should not be retained as playing the video is no longer useful when the component is destroyed.
Fixed a display issue in surveys where a required-answer alert could overlap the comment field for certain multiple-choice questions. This makes survey validation messages clearer and prevents confusion for respondents.
Original PR description
Steps to reproduce: 1. Create a survey with 'multiple choice: only one answer' question no.1 2. Go to the question's options Tab > enable these three options 'Show comment field' & 'Comment is an answer' & 'Mandatory answer'. (For question no.1) 3. Add a second question to that survey. (any type) 4. Test the survey. 5. Click on the continue button without selecting the answer. 6. The error message overlaps the comment field Technical reason: The height of the `<div>` containing the <textarea> was not properly set. After this commit: The alert message should be displayed below the comment field. Task-4663115
This change reverts a prior adjustment to account matching because it changed stable-version behavior rather than fixing a bug. It helps preserve expected accounting workflows and avoids introducing unexpected changes for users on this release.
Original PR description
The reverted commit was not a fix but a modification of a behavior we did not want to do in stable. This reverts commit 5c0cd2141779e4534b332e0282ce37883fcc0a5f. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Installing or upgrading Sale Timesheet no longer fails when a related access rule was manually deleted. This makes module setup more resilient for customers with customized security settings and avoids an unexpected installation error.
Original PR description
Currently, an error occurs when installing or upgrading the `sale_timesheet` module if the user has manually deleted the referenced record rule. **Steps to reproduce:** - Install the `account`…
Currently, an error occurs when installing or upgrading the `sale_timesheet` module if the user has manually deleted the referenced record rule. **Steps to reproduce:** - Install the `account` module. - Delete the `account.analytic.line.readonly.user` record rule. - Install the `sale_timesheet` module. - Observe the error. **Error:** `ParseError: while parsing /home/odoo/src/odoo/saas-18.2/addons/sale_timesheet/security/sale_timesheet_security.xml ...` The issue occurs because the `sale_timesheet` module overrides the `account.account_analytic_line_rule_readonly_user` record rule in its security XML file - [1]. However, if the parent rule is missing, the system fails to apply the override, resulting in a `ParseError`. [1] - https://github.com/odoo/odoo/blob/9c864204e84b2d769eeedffe6aa2b2263cf3889f/addons/sale_timesheet/security/sale_timesheet_security.xml#L11 This commit ensures that the rules are only updated if they already exist, avoiding an error if the referenced rule has been deleted. Sentry - 6489805050
This change reverses a previous adjustment to accounting reconciliation matching because it altered stable-version behavior rather than fixing a defect. It helps keep bank statement matching consistent and predictable for users on this version.
Original PR description
The reverted commit was not a fix but a modification of a behavior we did not want to do in stable. This reverts commit 79f98e924d2f425535a7ac1919f96ff7ec4a34d8.