Tuesday, March 11, 2025
3 changes · 17.0
Resolved issues and error corrections
Users can now link an employee to a related internal user even when the employee has a bank account marked for sending money. This prevents an unnecessary access rights error and keeps employee-user setup flowing for staff without bank management permissions.
Original PR description
Steps to reproduce: - Let's consider an employee E with a bank account BA - Let's consider that BA has the option "Send Money" enabled - Let's log to an internal user U without any access right in Bank - Try to link E to any internal user Bug: A user error was raised: You do not have the rights to trust or untrust accounts. opw:4553238
Fixes an issue where choosing an activity type with a default user could leave that person assigned even after switching to another activity type. This helps ensure activities are assigned to the correct person and reduces manual correction for users.
Original PR description
Steps to reproduce: - Open settings and search for "Activity Types" - Choose an activity Type and set a default user (different than the current user) - Open Project and select a task in one project - Click on activities - Select the activity type with the default user - Select another activity type Problem: Once the activity type with a default user has been selected, the "assigned to" field does not change (it keeps the value of the default user) even after changing the activity type. https://github.com/odoo/odoo/blob/8b0dddf8b4fb68fc12f15a71e150cf1607d5cd24/addons/mail/wizard/mail_activity_schedule.py#L182 opw-4459016
Fixed an issue where opening the Comparison filter on Consolidated Balance reports could trigger an error. Users can now add comparison filters while keeping consolidation-specific reporting options intact.
Original PR description
### Steps to reproduce: - Go to Accounting > Configuration > Accounting Reports > Consolidated Balance > Options - Tick "Period Comparison" - On a consolidation period, click "Consolidated Balance" - Click on the button "Comparison" to add a filter ### Cause: The dropdown component that is supposed to appear when clicking the button is reading value that are undefined: `controller.options.date.mode` This value is only defined if the filter is 'custom': https://github.com/odoo/enterprise/blob/297bc86d8a98beb4cabc646c3a2ec6a594e7ca0c/account_reports/models/account_report.py#L639 ### Solution: We don't want to have the date filter on consolidation balances but we want to keep the consolidation filter. So we check if `controller.options.date` exist before reading `mode`. opw-4546574