Saturday, May 10, 2025
11 changes
6 changes
Resolved issues and error corrections
The leave request form now behaves more clearly for managers. Action buttons only appear after a leave request is saved, and available hours are shown when the selected time off type can deduct extra hours.
Original PR description
With this commit, some elements in leave's form view are fixed :
- The buttons are only shown when the leave is saved.
- The available hours are displayed when a time off type with deduct extra hours are selected.
task-4756706Project users can now open task forms that include timesheet entries without running into errors caused by timer information they are not allowed to access. The change limits timer-related data checks to users who have Timesheets access, improving reliability for teams using projects and field service workflows.
Original PR description
Before this commit, the project user cannot access to the form view of a task with timesheets recorded, because the fields related to the timer are always computed and crash if the user does not have any access to timesheet app. This commit makes sure the timer fields are only read if the user has access to timesheets app. task-4782330
This fix places the task-hours display widgets in the correct location for Field Service tasks. It resolves a performance issue, helping task views load and run more smoothly for users.
Original PR description
Commit-https://github.com/odoo/enterprise/commit/9e8ae6df6920e4c10659a87f3f802957a423f44c In above commit, 'fsmTaskWithHours' and 'taskWithHours' were not set in the correct place, which caused a performance issue. task-4760561
This update fixes an error that appeared when users opened the optional column menu in sub-task or blocked-by sections of field service tasks. It helps users manage task details without interruptions or unexpected crash screens.
Original PR description
**Steps to reproduce:** - Install `project` and `industry_fsm_sale` modules - Open any task with subtasks - Go to the Sub-tasks notebook or blocked-by notebook - Click the optional column dropdown **Issue:** - when clicking on optional column in subtasks/blockedby notebook a traceback occurs **Fix:** - Used `parent.has_template_ancestor` instead of `has_template_ancestor` to explicitly access the field from the parent record . task-4764758
When users choose to review all checks on an account return, the checks page now stays open instead of immediately sending them back to the return and moving it to the next state. This prevents unintended workflow progress and ensures state changes only happen through the main Review Checks action.
Original PR description
Before the commit: On a return which passed all checks in 'new' state, when we clicked the dots then click review all checks. It would open the checks view with all the checks green then instantly redirect to the return view. It would also automatically forward to the next state. This is because there is a call to refresh the checks on the page load of the checks view. During this page load, a call to try_forward_state was triggered even if we didn't want to change state. Now, when we open the view from the button 'review all checks', we would not allow changing automatically to the next state. The only way is via the 'Review Checks' main button.
The live chat helpdesk report query was adjusted to match recent backend changes. This helps keep reporting reliable without changing how users interact with the helpdesk live chat feature.
Original PR description
Group by has been removed as there is only one channel per row, other tables are now joined with lateral. Enterprise counter-part. https://github.com/odoo/odoo/pull/209254
2 changes
Resolved issues and error corrections
Attachment lists in Documents now have a slightly refined visual style. This makes attached files look cleaner and easier to scan for users without changing how the feature works.
3 changes
Resolved issues and error corrections
This fixes an issue where some time off allocations could miss their latest relevant date value. It helps keep allocation information complete and reliable for HR users reviewing leave balances.
Original PR description
actual_lastcall was being false because it wasn't set in one case inside `add_lastcalls` method. This commit fixes this issue.
The SEPA Direct Debit payment provider view was cleaned up by removing an unused rule that could incorrectly hide the provider status. This helps ensure business users can consistently see the status of SEPA payment providers in the kanban view.
Original PR description
This commit remove un-used view which contain wrong condition to hide state field in kanban view of provider of Sepa direct debit and we don't want to hide state for Sepa provider. Related PR: https://github.com/odoo/upgrade/pull/7653
Scheduled automations using date-based filters such as “is within the last month” could fail because the server did not recognize some date helpers created by the interface. This fix lets those automations evaluate the filters properly, reducing missed or silently failed automated actions.
Original PR description
# Bug: Currently, base automations that use filters constructed by the front-end using `context_today` and `relativedelta` will fail. These are for example constructed when using the "is within"…
# Bug:
Currently, base automations that use filters constructed by the front-end using `context_today` and `relativedelta` will fail.
These are for example constructed when using the "is within" operator for filter domains, producing search domains like: "Created on is within -1 months"
```
["&", ("create_date", ">=", datetime.datetime.combine(context_today() +
relativedelta(months = -1), datetime.time(0, 0, 0)).to_utc().strftime("%Y-%m-%d %H:%M:%S")),
("create_date", "<=", datetime.datetime.combine(context_today(),
datetime.time(0, 0, 0)).to_utc().strftime("%Y-%m-%d %H:%M:%S"))]
```
When running the CRON for the automation rules, it will silently fail throwing a `NameError: name 'context_today' is not defined` error.
# Proposed solution:
Extend the `eval_context` dictionary in `_get_eval_context` to whitelist the needed methods to resolve such filter domains. Additionally replace `.to_utc()` calls that only make sense when evaluating the filter domain in thre front-end JS
opw-4763409
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe Salary Register now only retrieves payslips for the company currently being viewed. This prevents access errors in multi-company India payroll setups and lets users review payroll reports without being blocked by records from another company.
Original PR description
Problem: In a multi-company environment with multiple companies from India, users are getting access right errors about being unable to read employees from Company B when viewing the Salary Register from Company A and vice versa. Steps to Reproduce on Runbot: 1. Install accounting,employee, payroll, India payroll 2. Create 2 Indian companies with India fiscal package 3. Create an employee per company and create payslips per employee and pay them 4. View the salary register in Payroll > Reporting --> access right error thrown opw-4677551