Tuesday, October 15, 2024
6 changes · saas-17.4
Resolved issues and error corrections
This update corrects a draft-related issue in the website editor. It helps ensure editing content behaves as expected before publication, reducing the chance of confusing or incorrect draft states for users.
Original PR description
draft
Deleting the only paid order in Point of Sale now works without triggering an error. This prevents disruption for staff managing paid order records and keeps the ticket screen stable.
Original PR description
Before this commit, attempting to delete the only order in the paid order list would result in an error. This was due to the ticket screen setting the current order to `selectedOrder` upon opening. However, when the order was fetched again, it replaced the previous order, leading to not setting 'selectedOrder` to null after deleting. opw-4230543 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Downpayment dates on quotation pages now follow the customer or user's language settings instead of always using a US-style date format. This reduces confusion for users in languages such as Spanish, where the expected day and month order is different.
Original PR description
The date was always formatted as `'%m-%d-%y'` which creates confusion for some users. Now we use `format_date` which takes into consideration the language of the user yielding the expected date format. Current behavior before PR: In the quotation page, a downpayment's date is formatted mm/dd/yyyy when the client has the language es_ES. Desired behavior after PR is merged: The downpayment's date should be formatted dd/mm/yyyy following the standard date formatting in Spanish (assuming that the client's language is Spanish) opw-4197849
When users add an attachment in Mail, the attachment panel now remains open after the page refreshes. This avoids an unnecessary interruption and makes reviewing or adding more attachments smoother.
Original PR description
**Current behavior before PR:** prior to this PR after posting an attachment, if the attachment box was opened it closes after the reload. **Desired behavior after PR is merged:** this PR addresses this issue by updating the behavior to ensure that the attachment box remains open even after the reload. task-4161477 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A subscription performance test was updated to reflect an expected extra database check introduced by a related fix. This keeps automated quality checks accurate without changing customer-facing subscription behavior.
Original PR description
Related to https://github.com/odoo/odoo/pull/182438 Since this fix, we make an extra query per batch, so we need to adapt the query count of `test_recurring_order_creation_perf` opw-4072691
The Project Gantt view now correctly greys out weekends even when tasks are grouped by a filter. This helps teams keep planning timelines accurate and avoids making non-working days look available.
Original PR description
Steps to reproduce: - Any project > Gantt view > Add any groupby filter The weekends are no longer greyed out like they were without the filter. This happens because _gantt_unavailablities in this module defers calls to the super() method which is empty unless the field is user_id. This makes sense since we don't want to get unavailability by employee if the tasks are not sorted by user, we could however use company leaves instead of leaving every day as available under other filters. opw-4237953