Daily updates from Odoo
Friday, February 21, 2025
4 changes · master
Enhancements to existing features
This update standardizes how bank statement CSV imports manage temporary database changes, making the process easier to maintain and more consistent. It also simplifies salary simulation rollback handling so trial calculations are fully discarded after running, reducing risk of unintended saved data.
Original PR description
### [IMP] account_bank_statement_import_csv: use savepoint() Use the savepoint object to import the data instead of custom SQL. The goal is to be able to find easily all savepoint usages and have them working in the same way. ### [IMP] hr_contract_salary: remove savepoint for simulation When simulating salary data, we want to rollback all that is done during the simulation. Since we commit just before trying to do the simulation, we can just rollback at the end instead of using savepoints. https://github.com/odoo/odoo/pull/198584
Users can now edit report date periods directly instead of repeatedly clicking arrows to move between months, quarters, or years. The date filter dropdown also supports keyboard navigation, making financial reports faster and more accessible to use.
Original PR description
Currently the new date filter widget on reports only allows users to change a period by clicking the `<` and `>` arrows next to the period description. This makes it cumbersome if a user want to switch from a month in one year to the same month in another year. He will have to click the arrow button at least 12 times. In order to simplify this kind of operation, we allow users editing the period text inline on double clicking it. That way they can manually change the month, quarter, or year and the report will reload with the correct period based on that. [task-4284292](https://www.odoo.com/odoo/project.task/4284292) Related to https://github.com/odoo/odoo/pull/190141
Portal ticket lists now show combined time spent versus allocated hours when tickets are grouped, helping customers understand overall work progress more easily. For services billed on validated timesheets only, the displayed time now respects that policy and only includes validated entries.
Original PR description
_*= helpdesk, helpdesk_sale_timesheet, documents_project - In this commit we have enhanced the functionality of displaying effective hours divided by allocated hours of grouped ticket in the portal list view. task-3609050
Project budget columns now use clearer business terms: Forecast, Actual, and Difference. The budget status also avoids incorrectly marking projects as overspent when a budget has been allocated but no spending has occurred, giving teams a more accurate view of project finances.
Original PR description
-Replaced table headers string:
'Allocated', 'Spent', 'Remaining' with 'Forecast', 'Actual', 'Difference'.
Currently, when a project only has the budget allocated without any spending, the project task Kanban incorrectly shows it as 'overspent'.
task-4353191