Tuesday, March 31, 2026
9 changes · 18.0
Resolved issues and error corrections
This update resolves an error that occurred when users added multiple columns with the same label to the Balance Sheet report, preventing the report from opening correctly. The fix ensures stability by prioritizing the first column record when multiple columns share the same expression label, improving report usability.
Original PR description
Currently, an error occurs when user tries to open a report with two or more columns that have same expression labels. Steps to replicate: - Install `accountant`. - Open `Accounting > Reporting > Balance Sheet`. - Turn on debug mode and click on the button with gear icon in the header. - Go to Columns tab > add new column with expression label as `balance` > save. - Now try to open the report Executive Summary. Error: ``` ValueError: Expected singleton: account.report.column(10, 137) ``` Cause: - As the user made a new column with label `balance` we get two records from the result of `filtered()` and when we try to access its `figure_type` we get error from [here]. Solution: - For stable, we just take the first record from the filtered records. [here]: https://github.com/odoo/enterprise/blob/317890e8af3a9f9de086769a2871fcc28a03c783/account_reports/models/account_report.py#L3443-L3444 sentry-7356996739
This update resolves an issue where the 'Load More' button was hidden when the 'Hide if 0' option was enabled in account reports. The fix filters out 'Load More' lines from zero-value lines, ensuring the button remains visible when appropriate. This improves the user experience by allowing users to easily access additional report data.
Original PR description
When activating the 'Hide if 0' option, the 'Load more' line is hidden. Fix: Filtering out the lines with empty columns (Load more lines) from the zero lines. Steps: - Open GL (occurs with other reports as well), and open configuration for this report - Set Load more limit to 1, and hide if zero to optional - Go back to GL report and select the 'Hide lines at 0' option -> Load more lines are hidden as long as the zero lines opw-5953725
This update fixes an issue where subscription product details weren't showing the billing period in product snippets on the website. The fix ensures that all product snippets, including those for subscription products, accurately display the billing period, providing a consistent customer experience. This improves clarity and accuracy for customers viewing products on the website.
Original PR description
Steps to reproduce: 1) Go to the Website app. 2) Add a product snippet to any page using the editor. 3) See product card of any subscription product. Issue: - The billing period is not displayed for subscription products in the product snippet, unlike on the shop page. Cause: - `temporal_unit_display` is not included in the `combination_info`which is passed in data used by the product snippet. Fix: - Include `temporal_unit_display` in `combination_info`. opw-6070943
This update fixes an error that occurred when users added multiple columns with the same label to reports, specifically the Balance Sheet. The fix adds a database constraint to prevent this, ensuring reports display correctly and avoids data inconsistencies. This improves report stability and user experience.
Original PR description
Currently, an error occurs when user tries to open a report with two or more columns that have same expression labels. Steps to replicate: - Install `accountant`. - Open `Accounting > Reporting >…
Currently, an error occurs when user tries to open a report with two or more columns that have same expression labels. Steps to replicate: - Install `accountant`. - Open `Accounting > Reporting > Balance Sheet`. - Turn on debug mode and click on the button with gear icon in the header. - Go to Columns tab > add new column with expression label as `balance` > save. - Now try to open the report Executive Summary. Error: ``` ValueError: Expected singleton: account.report.column(10, 137) ``` Cause: - As the user made a new column with label `balance` we get two records from the result of `filtered()` and when we try to access its `figure_type` we get error from [here]. Solution: - Added an SQL constraint that restricts user from making new columns with label same as an existing column in a report. [here]: https://github.com/odoo/enterprise/blob/317890e8af3a9f9de086769a2871fcc28a03c783/account_reports/models/account_report.py#L3443-L3444 sentry-7356996739 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves a technical issue that could cause tests to fail when dealing with email messages that are empty. The change adds a safety check to ensure the system doesn't attempt to access data from a null mail message, preventing errors and improving test stability. This ensures consistent and reliable email functionality.
Original PR description
This changes https://github.com/odoo/odoo/pull/230766/changes cause the issue. I fix `AttributeError` when `mail_message` is None in `assertNoMail` method. The method was accessing `mail_message.message_id `without checking if `mail_message` is `None` first, causing a potential crash in test cases. Added a conditional check to safely handle None values before accessing the message_id attribute. @qrtl
This update corrects a bug where employees with upcoming contracts were incorrectly generating negative overtime calculations in the Absence Management system. The fix ensures that absences are only detected for employees with active contracts, preventing inaccurate overtime reporting. This improves the accuracy of attendance tracking.
Original PR description
### Steps to reproduce: - Create an employee with contract starts in the future - Activate the Absence Management from attendance settings - Run the cron of Absence Detection - Notice an absence attendance got created for the emp with the future contract ### Cause: We don't check for contracts start dates when fetching absent employees and we get expected attendance for them from their working schedule so we create -ve overtime for them. ### Fix: We filter the absent employees on their running contracts. It has been fixed in since 18.4 in this commit https://github.com/odoo/odoo/commit/5db242416522524849a20eb83df3937c193c98d3 opw-5942239
This update corrects a visual inconsistency in the optional product table within the sale management module. The fix ensures the table receives the correct report styling, previously missing due to a difference in the underlying code structure. This improves the user experience and presentation of reports.
Original PR description
Issue: In sale_management the optional product table doesn't get the report table styling. This is due to a different DOM and missing classes. This fix applies the styling to match the optional product table structure. While the table is in `sale_management` the change is applied in `web` to avoid having to update the module for customers. Note: the color applied in `report_templates.xml` requires that the user change is layout in the document layout configurator then save again for it to apply. task-6009941 opw-5960426 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Documentation and clarification updates
This pull request updates the contributor list in the Optesis documentation to reflect the most current information. Specifically, the name of Ibrahima NIASSE EXT has been added, replacing Mame Abdoul Aziz SY. This ensures accurate and up-to-date records of project contributors.
Original PR description
Replaced Mame Abdoul Aziz SY with Ibrahima NIASSE EXT in the contributors list. 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 update incorporates the individual contributor license agreement (CLA) for Eric Rieve, a developer contributing to Odoo. This ensures compliance with Odoo's open-source licensing requirements and allows RieveFireProt to contribute code under the appropriate terms. It's a standard legal step for external contributors.
Original PR description
Adds the individual contributor license agreement signature file for GitHub user `RieveFireProt` as described in Odoo's CLA contribution process. Contributor details: - Name: Eric Rieve - Email: eric@rievefire.com - GitHub: https://github.com/RieveFireProt