Tuesday, July 1, 2025
8 changes · master
Resolved issues and error corrections
The Indian payroll demo data now uses payslip dates that fit within the employee contract period. This prevents installation errors when loading demo data, making setup smoother for evaluations and testing.
Original PR description
Issue: The demo payslip for employee had dates before the contract start date, leading to errors during demo data installation. Fix: Adjusted the payslip dates to be 3 months before the current date, ensuring they fall within the employee's contract period and allowing successful demo installation. Forward-Port-Of: odoo/enterprise#86794
This update fixes an issue in Payroll where editing payslip lines could fail when adding a new line. Payroll users can now complete this workflow more reliably without encountering a record creation error.
Original PR description
In this PR we add edit_payslip_lines_wizard_id in the view to prevent a new line record creation error. Forward-Port-Of: odoo/enterprise#88923 Forward-Port-Of: odoo/enterprise#88033
The ESIC report now shows a clearer warning when there are no payslips with a valid ESIC value. This helps payroll users understand why the report has no data and what condition is missing.
Original PR description
In this PR, we updated the warning message shown in the esi report view when no payslips with a valid ESIC value. **Before:**  **After:**  Related task: 4753033
This fix prevents AI mail rendering from changing settings passed in by custom modules. It helps avoid unexpected behavior when the same parameters are reused elsewhere, improving reliability for customized deployments.
Original PR description
In custom modules the caller parameters are reused, don't modify them in place as it is a bad practice and copy the dict. Forward-Port-Of: odoo/enterprise#88901
Removing a parent emission source no longer causes an error in the ESG app. This keeps emission source records editable and helps users maintain ESG data without interruption.
Original PR description
Currently, an error occurs when attempting to remove the parent emission source from an emission source. Steps to Reproduce: - Install the `ESG` module. - Go to `Emission Sources` and create a new…
Currently, an error occurs when attempting to remove the parent emission source from an emission source. Steps to Reproduce: - Install the `ESG` module. - Go to `Emission Sources` and create a new emission source with a parent emission source. - Remove the parent emission source. `ValueError: Compute method failed to assign esg.emission.source(<NewId origin=3>,).activity_flow_direct_indirect` This error occurs when the parent emission source is removed, causing the scope to become False in _compute_scope[1]. Subsequently, in _compute_activity_flow[2], none of the cases match, which results in a failure to assign the activity flow and raises an error. [1] https://github.com/odoo/enterprise/blob/1c7620d8de97757abda1993822f92590987bc46c/esg/models/esg_emission_source.py#L75 [2] https://github.com/odoo/enterprise/blob/1c7620d8de97757abda1993822f92590987bc46c/esg/models/esg_emission_source.py#L77-L78 This commit ensures that if the parent emission source is removed, the activity flow is properly maintained. sentry-6690968543 Forward-Port-Of: odoo/enterprise#88158
This update adjusts internal test expectations for Odoo's enterprise email features after a recent merge caused automated checks to fail. It helps keep the development pipeline reliable without changing customer-facing behavior.
Original PR description
Started to fail just after merge, weird. runbot-227060 Forward-Port-Of: odoo/enterprise#88947
The Journal Report now displays the account name in the Account column, making entries easier to recognize and review. This fixes a visibility issue and helps business users understand report lines without relying only on account codes.
Original PR description
The purpose of this pr is to add account name in the Account column of the Journal Report. Before this code changes:  After this code changes:  OPW : 4702276 Forward-Port-Of: odoo/enterprise#86113
Accounting report tests now use the correct setting so they remain stable when the US accounting localization is installed. This prevents automated checks from being redirected to a US-specific tax report, improving release reliability without changing user-facing behavior.
Original PR description
https://github.com/odoo/odoo/commit/174fda9bde8460df0d819100aed7974321d43a59 added a new US variant for the tax report. When running the tests, some failed, because the active company was then a US one, and calling the generic tax report actually rerouted to that new variant. We now ensure we don't reroute in those tests by using the appropriate option key. runbot-226719 Forward-Port-Of: odoo/enterprise#88642