Daily updates from Odoo
Thursday, September 26, 2024
7 changes · master
Enhancements to existing features
Field service tasks created from online appointments now keep a direct link to the appointment and carry over key booking details. This helps teams see assigned staff, appointment duration, guests, and customer question responses without manually cross-checking records.
Original PR description
Prior to this commit, when a SO is confirmed through the Appointment Web Interface, for an appointment type which creates a Task in a Field Service project, a task is created but with two issues: 1. There is no link between the Appointment and the related task. 2. Following data are missing in the task: selected users or resources, duration, questions and answers of the appointment. This commit introduce a bridge module for Field Service, Appointment and Websale, allowing to set data on the task according to what was defined in the appointment, and a stat button to navigate to the appointment from the task view. Task-3823058 Community PR: https://github.com/odoo/odoo/pull/162578
Loan-related asset group pages now open reliably even when no assets or loans are linked, avoiding an error for users. Loan confirmation and reversal processing is also much faster for long-term loans, reducing wait times for large loan schedules.
Original PR description
See commits
This change prevents users from downloading dashboard JSON files from list views in debug mode, because those downloads could contain an outdated initial version rather than the latest dashboard. Users now receive a warning instead, reducing confusion and avoiding reliance on stale dashboard data.
Original PR description
### [IMP] Disable download of dashboard json file in list view When downloading a dashboard's json file in debug mode, we get the initial version of the dashboard file and not the latest (without the revisions). This commit's goal is to prevent downloading the dashboard's json file and displaying a warning message to the user. task-4196930
The shop floor view no longer applies the previous “This Station” default filter, so users can see relevant manufacturing orders without manually changing the filter. This change is possible because later performance improvements and loading limits now keep the view responsive without needing that restriction.
Original PR description
The 'This Station' default filter was introduced in [1] as a stopgap solution for limiting the amount of MOs loaded simultaneously in the view, to avoid performance bottlenecks. Since the introduction of a limit (also in [1]), as well as later performance improvements from [2], the performance of the shop floor is now acceptable without this filter, so we proceed with removing it completely in this PR. [1] https://github.com/odoo/enterprise/pull/64551 [2] https://github.com/odoo/enterprise/pull/66898
Financial reports now show the exact start and end dates of the selected period when a company's fiscal year does not match the calendar year. This helps users avoid confusion over whether month and quarter filters refer to calendar dates or fiscal-year periods.
Original PR description
Before this commit when the fiscal year was not set for December 31, the report would still show the abbreviated period name (Dec 2024, Q2 2024, etc). People struggled with that when they changed the fiscal year because they thought quarters or months filters were aligned to their fiscal year. The goal here is to show the actual period boundaries on the report when the fiscal year is set to something different than the calendar year. That way they will know exactly on which period the report is calculated for. task-4200096
Resolved issues and error corrections
Duplicating a financial report now creates a clearly labeled copy and includes its budget lines. This helps users create new financial budgets from existing reports without rebuilding them manually.
Original PR description
Enable the copy of a financial report. Right now, when duplicating a financial report (or several at the same time), only the name is copied (same name, not even a "(copy)" after. We want to improve it by adding this "(copy)" in the title, and also copy the budget lines. This will enable a user to not start from scratch every time he wants to create a new financial budget. task-4207202
The asset modification wizard now refreshes the residual value when users change the date, giving a more accurate preview before confirming changes. Related accounting fields also adjust based on the recalculated gain or loss, reducing confusion and helping users make better decisions.
Original PR description
When the date in the modify wizard for assets is changed, the residual_value should be updated to give a better view to the user. task-3981380