Tuesday, June 25, 2024
8 changes · 17.0
Resolved issues and error corrections
This fixes an error that could prevent people from opening shared Sign documents when the website theme used the flat primary button style. The change makes the styling rule safer so shared signing links continue to work even when certain website style assets are not loaded.
Original PR description
Steps to reproduce: ------------------- - Install `Sign` and `Website` (for test purpose) - Go to the website and enable the web editor - Click on Theme tab, and set Button -> Primary Style to `Flat` - Go to Sign module and copy the Share link of a document - Open it in an incognito window Issue: ------ Error: `The target selector was not found` Cause: ------ Trying to extend `.btn.flat` selector while it is not declared in the dependencies of the `sign.assets_public_sign` assets. Solution: --------- Set the `extend` to `optional`. opw-3989063
Deleting all task stages in a project now keeps the task board usable by showing the expected sample placeholder content instead of a blank screen. This helps users recover gracefully when stages are removed and avoids confusion in project setup or cleanup.
Original PR description
Steps: - Install the Project module > Create a new project - Open Project > Create task stage(s) - Delete all task stages Issue: - If all the stages are deleted then blank screen appears instead of shadow data(example data). Cause: - Incorrect active_model was passed. Fix: - Issue is been fixed by removing active_model. task-3744319
An error occured trying to access new invoice in Accounting app, it was caused by a simple typo. opw-3981302
Original PR description
An error occured trying to access new invoice in Accounting app, it was caused by a simple typo. opw-3981302
Problem: A recent commit (below) added carriage return characters to the .pot file for new `deleteConfirmationMessage` popup. Since the value of the string itself doesn't contain these characters, we'll never see a translation for this popup. Purpose: Revert .pot msgid back to its previous state. FW commit /pull/162106/commits/50f9df296c44d3c86bc251a67944bb0ce36a154e opw-3954024
Original PR description
Problem: A recent commit (below) added carriage return characters to the .pot file for new `deleteConfirmationMessage` popup. Since the value of the string itself doesn't contain these characters, we'll never see a translation for this popup. Purpose: Revert .pot msgid back to its previous state. FW commit /pull/162106/commits/50f9df296c44d3c86bc251a67944bb0ce36a154e opw-3954024
Duplicating a social post that was originally scheduled in the past now works without an error. If the original scheduled time has already passed, the copied post is scheduled for the current time instead, while future scheduled dates are preserved.
Original PR description
Bug === Since 35745d67f384487f562409f00e6ae24cf0f1b9bc , we added a constraint to not be able to schedule a social post in the past. So, it can raise an error when we duplicate a post. Instead, we want to copy the scheduled date if it's in the future, and set it now if it's in the past. Task-3109395
This fix corrects a display issue in project budget management where an unused budget (zero spending) was incorrectly showing "-0%" instead of "0%". The fix ensures that when no budget has been spent, the system properly displays zero percent rather than a negative zero value, improving the accuracy of budget status reporting.
Original PR description
Steps: - Install the project - Enable Budget management from settings - Create project - Click on set status button inside your project - Create budget Issue: - If budget is not used for expenditure then instead of showing 0% , it displays -0% which is incorrect. Cause: - float value of 'cost' i.e. 0.0 leads to generation of negative value Fix: - Issue is been fixed by applying condition if cost equals 0.0 task-3744319 Forward-Port-Of: odoo/enterprise#56998
This update fixes an issue in the helpdesk rating tests where date fields could not be properly updated through standard methods. The fix ensures that test data can be correctly configured with the appropriate timestamps, improving the reliability of rating functionality tests.
Original PR description
We are unable to update the 'create date' and 'write date' through the ORM method. Therefore, I used a patch. task-4004191 Forward-Port-Of: odoo/enterprise#65151
A typo in the translation file name for the Swiss HR Payroll Documents module has been corrected. This ensures proper translation file management and prevents potential issues with language localization for Swiss payroll operations.