Thursday, June 6, 2024
9 changes · 17.0
Resolved issues and error corrections
This fix prevents users from saving URL-based product documents as content meant to appear inside sales quotes. Sales quote attachments must now be actual files, avoiding save errors and ensuring quote PDFs are built reliably.
Original PR description
**Steps:** - Go to Sales > Products > Products > Any Product - Click Documents smart button > Create New - Type = URL - Name = Something - URL = Something - Sales Visibility = Inside Quote - Save > Error **Issue:** - For the type 'url' and sales visibility 'Inside quote', the record will never get the correct mimetype of the url document, resulting into the false condition everytime as pdf quote builder specifically checks for mimetype 'pdf'. **Fix:** - If the sale visibility is 'Inside quote', the type should always be File and not URL. If not the case, warning or validation error will be raised. **Affected Version:** 17 ~ master **opw:** 3964066
Pie chart labels in graph views are now crossed out when users hide an entry by clicking its label. This makes the chart legend match what is displayed, reducing confusion when analyzing CRM data.
Original PR description
Steps to reproduce ================== - Go to CRM - Switch to the graph view - Use the Pie Chart mode - Click on any label => The visibility of the dataset is toggled but the label should be crossed out Solution ======== From the Chart.js v3 migration guide, we can see this > Element.hidden was replaced by chart level status, usable with getDataVisibility(index) / toggleDataVisibility(index) https://www.chartjs.org/docs/latest/migration/v3-migration.html opw-3935183
Customers will no longer receive multiple payment success emails when Stripe sends repeated authorization confirmations. The change ensures confirmation emails are sent only for transactions that have not already been processed, reducing confusion and support follow-up.
Original PR description
Due to Stripe sending multiple confirmations regarding authorized payment, multiple mails were send to customer that their payment was succesful, now only transactions that were not processed yet result in mail sending. opw-3967807 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix stops users from changing a product with variants into a combo product in Point of Sale. It helps prevent invalid product configurations that could cause confusion or errors during POS sales.
Original PR description
Current behavior: If a product has some variants you shouldn't be able to change his type to combo Steps to reproduce: - Create a product, and add some variants to it - Try to change his type to "Combo" - You shouldn't be able to do it, as combo product shouldn't have variants opw-3961311 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change adds a supporting test helper for Point of Sale internal notes. It helps future fixes or validations check this workflow more reliably, with no direct change expected for day-to-day users.
Original PR description
This commit just add a new tour method used in another commit opw-3902869 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The calendar now uses a consistent color to mark “Today” across its different views. This improves visual clarity and ensures the highlight remains readable in both light and dark modes.
Original PR description
Prior to this PR, colors of "Today" were inconsistent depending on the view in calendar, sometimes red, sometimes purple. There was also a contrast issue when switching to dark mode. This PR adjusts…
Prior to this PR, colors of "Today" were inconsistent depending on the view in calendar, sometimes red, sometimes purple. There was also a contrast issue when switching to dark mode. This PR adjusts the color of "Today" to maintain color consistency and to provide contrast in bright mode and dark mode. task-3754159 Part of task-3575827 | Before | After | |--------|--------| |  |  | |  |  | |  |  | |  |  | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Printed payslips now leave employee fields blank when no information has been entered, instead of showing placeholder demo data. This makes payslip documents more accurate and avoids confusion for employees and payroll teams.
Original PR description
When printing payslip the fields which are not filled in Employee form ,demo data is filled while printing payslip report remove demo data from the payslip report ,the fields should be empty when no info is added task-3948257
This update removes unnecessary error messages that were appearing during automated tests for the room booking feature. The tests were trying to load background images for test rooms that don't actually exist, causing false error alerts. The fix cleans up these test errors without affecting how the feature works for real users.
Original PR description
Purpose: -------- The frontend room view uses the "background-image" property to add a background image if one has been set on the room. This causes several 404 errors in qunit tests because the test room does not exist, resulting in a "room not found" exception when the browser tries to get the background image. This commit patches the view in the tests to remove the url part of the background-image property, so that the background image is not fetched anymore. In order to make this patch possible, the background-image property value has been moved inside a getter. Task-3943099
This update corrects the spacing around percentage symbols displayed in the planning calendar event popover. When users click on calendar events to view details, the percentage indicator now displays with consistent, proper spacing for a more polished appearance.
Original PR description
Steps to reproduce: 1. Install the planning module and open it. 2. Open events in calendar view. 3. Click on any event. 4. In the calendar popover, observe the spacing around the percentage (%). Issue: There is inconsistency in spacing around the percentage (%). Solution: Add a space before the percentage and remove the space after it in the common calendar popover. task-3908815 Forward-Port-Of: odoo/enterprise#62083