Daily updates from Odoo
Monday, March 10, 2025
16 changes
3 changes
Resolved issues and error corrections
This fix corrects an issue in the Add IoT Box window where the pairing button could not be properly disabled during the pairing process. It helps prevent errors when users connect an IoT Box, making setup more reliable.
Original PR description
Since we moved the pair button in the Add IoT Box Modal footer, its ref was incorred, leading to an error while trying to disable it during pairing process. Task: 4637137
Ratings now show the actual date when a customer rating was created or updated, instead of changing when the related task or ticket is edited. This makes rating history clearer and prevents unrelated updates from misleading teams reviewing customer feedback.
Original PR description
This commit changes new field of view to show the rating date. Task-4023246
The Gantt view now shows row sidebars with consistent, less distracting borders when sample data is displayed. This improves the visual polish of planning screens and avoids making placeholder data look heavier than real content.
Original PR description
This commit fixes an issue where the Gantt row sidebar displayed overly prominent borders in sample data mode. The issue occurred because the borders were applied to elements that lacked the sample data class. Task ID: 4009082
13 changes
Resolved issues and error corrections
Fixes a display issue where banner content was not properly aligned with the banner icon in the HTML editor. This improves the visual consistency of inserted banners and helps users create cleaner page content.
Original PR description
**Current behavior before PR:** When inserting a banner, div base container inside banner is not properly aligned to banner icon. **Desired behavior after PR is merged:** Now div base container inside banner is properly aligned to banner icon. task-4591824 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix updates the web tour service to handle automated tour steps more reliably. It helps guided walkthroughs and onboarding flows behave as expected, reducing confusion during product demos, training, or testing.
Original PR description
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 fixes spreadsheet pivots so they no longer keep a sort order based on a measure that is no longer selected or available. Users avoid confusing or incorrect pivot results when changing measures or opening views with predefined sorting.
Original PR description
Steps: Go to a pivot view with: - either a predefined sort on the action/filter. - sort by a measure then uncheck the measure. We can't keep the sorting because the sorting is done client-side. If the field is not part of the measures, we don't have the data to sort... Task: 4467262 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
Internal users with Survey access can now print surveys that are limited to invited participants. This prevents them from being sent to a blank page and keeps survey administration workflows running smoothly.
Original PR description
Steps to reproduce: - Let's consider an internal user U with acces rights to Survey - Let's consider a survey S with access mode set to 'Invited People only' - Try to print survey S with U Bug: U is redirected to a blank page When a survey is set to 'Invited People only', internal users could not print the survey. opw:4576125
This fixes a crash that could happen when users created a private or public key from a certificate without attaching the required key file. The certificate form now prevents that incomplete key creation path, helping users avoid confusing save errors.
Original PR description
Currently, an error occurs when while adding a private/public key in the certificate and key has no 'content' (Key file). Step to produce: - Install the ```certificate``` module. - Go to Settings,…
Currently, an error occurs when while adding a private/public key in the certificate and key has no 'content' (Key file). Step to produce: - Install the ```certificate``` module. - Go to Settings, Click on 'certificates' which is in the Certificates and Keys section - Create a new certificate, add a name and valid certificate file. - Create a ```Private Key``` or ```Public Key``` from the certificate form view and try to save the record. ```TypeError: argument should be a bytes-like object or ASCII string, not 'bool'``` An error occurs because a user can directly create a certificate's private/public key from the certificate form view without adding any content that is required true in ```certificate.key``` model, so an error occurs when the system tries to decode the content of private/public key at [1], but it is not available. Link [1]: https://github.com/odoo/odoo/blob/2be7f413493a6ad43980eb031b8383deb3a706c0/addons/certificate/models/key.py#L157-L160 To resolve this issue, remove the 'create' option for private/public keys from certificate form view Sentry-5993525387 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where editing a sales quotation email could make part of the message disappear. The quotation email template now preserves the affected text, helping sales teams send complete and consistent customer communications.
Original PR description
If user edited sale quotation, part of the template with span tag would disapear. opw-4563470 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
The salary configurator now shows the working schedule dropdown in the expected place, directly below its label. This fixes a visual issue that could make the form harder to understand when configuring part-time salary offers.
Original PR description
This commit restores the position of the working schedule dropdown to be just below the label in the salary configurator, like in previous versions.  The cause of the issue is that the SelectMenuWrapper component is attached just after the invisible select element: https://github.com/odoo/enterprise/blob/9f6a4f0697edcc9330ad7976c6602d892e7b6ef9/hr_contract_salary/static/src/js/hr_contract_salary.js#L69-L71 But before other elements are placed in the DOM between them. A solution is to add a wrapper div around the selection, ensuring the `SelectMenuWrapper` component is attached inside that div, and further elements placed in the DOM after the wrapper div. **Steps to reproduce** - Install hr_contract_salary_payroll - Select any employee contract > Generate offer > Salary configurator - Add `part?=80` (any value != 100) at the end of URL opw-4496279
This update fixes an internal Studio test that could fail when run with newer Python versions due to changes in how documentation text is handled. It helps keep quality checks reliable without changing customer-facing behavior.
Original PR description
Since 3.13, leading whitespace is automatically stripped in a docstring (python/cpython#81283). The `info` field of an ir.model is a copy of the docstring, so running :TestStudioExports.test_export_customizations on 3.13 fails because the documents are different (the content of the info field is indented and has a leading space matching `Model`'s docstring). Instead of duplicating the info field, just inject it in the document we're creating from the record, that way it doesn't break if someone decides to improve the docstring either.
This fix prevents pivot spreadsheets from keeping a sort order based on a measure that is no longer selected. Users will avoid misleading or broken sorting when they remove measures or open views with preset sorts that cannot be applied.
Original PR description
Steps: Go to a pivot view with: - either a predefined sort on the action/filter. - sort by a measure then uncheck the measure. We can't keep the sorting because the sorting is done client-side. If the field is not part of the measures, we don't have the data to sort... Task: 4467262
The map view now shows pin counter numbers without cutting them off. This makes location counts easier to read and avoids confusion when users review records on a map.
Original PR description
This commit fixes the style of the pin counter on the map view. The counter didn't display the number correctly. task-4544732
Screen orientation settings are now only applied when an IoT Box supports kiosk mode. This prevents unintended orientation changes on devices where kiosk functionality is not available.
Original PR description
We made invisible the `screen_orientation` field if `can_be_kiosk` was `False` on the IoT Box, but we still updated the screen orientation if `screen_orientation` was set: which was always the case as it has a default value. We now update only if the IoT Box `can_be_kiosk`. Task: 4606855
The website generator now correctly updates the version information for existing databases. This helps keep generated website records aligned with the current system version and avoids outdated metadata.
Original PR description
This commit fixes a bug where the version of existing DBs was not being updated. To fix this, we use a compute for the version field.
The project dashboard now shows expense budget status with more intuitive colors. Staying under budget is treated as positive, while exceeding the expense budget is highlighted as negative, helping users interpret project costs correctly.
Original PR description
How to reproduce the issue: - Create an expense budget and associate it to a project. - Create invoice/bills related to the project In the project dashboard view, the remaining value will be marked in green for expenses that exceed the budget (over-achieving costs) and in red for expenses that are under the budget (under-achieving costs). However, this was deemed non-intuitive, as under-achieving costs should be seen as a positive indicator. After this commit the color for expense budget are inverted. opw-4562815