Daily updates from Odoo
Thursday, August 24, 2023
6 changes · master
Enhancements to existing features
Gantt timeline items now use simpler, consistent rounding when displaying time blocks. This makes planning views easier to read and removes special-case behavior that could make schedule pills appear inconsistent.
Original PR description
This commit removes the weird logic behind gantt pill rounding and simplifies it to always round a timeframe up. This allows to also remove the logic behind the planning gantt renderer to take into account special cases of pill rounding. Task-2223818
Project Gantt views now show an empty line for assignees who have planned open tasks across the whole view, not just the next period. This makes team planning clearer by keeping relevant assignees visible whenever their scheduled work exists in the project.
Original PR description
In the project.task gantt view, an empty line is displayed for assignees to a planned and opened task, but only for the next period. Ideally, if a planned and opened task exists in the project, it would be better to have an empty line displayed for its assignees in the whole gantt view, not only for the next period. This PR will change the group expand's domain to include tasks that have a planned_date_begin and planned_date_end set, thus including assignees who have planned tasks. task-3414550
Bank synchronization setup now creates a new journal by default, helping keep newly connected bank feeds clearly separated. The existing dashboard Configure flow keeps its previous behavior, reducing disruption for users managing current journals.
Original PR description
Except when coming from the Configure button on the dashboard Community: https://github.com/odoo/odoo/pull/37152
Task planning fields now use the clearer label "Allocated Time" instead of "Planned Hours" across project, field service, timesheet, and sales timesheet areas. This reduces confusion for users by aligning terminology wherever task time allocation is shown or reported.
Original PR description
**= project_timesheet_forecast,project_timesheet_enterprise. Before this commit 'project.task' model 'planned_hours' field is inconsistent to the 'allocated_hours' field. After this commit rename the 'planned_hours' to 'allocated_hours' and related string change to 'Allocated Time'. task-3231680
Invoice extraction can now recognize whether a scanned document is a standard invoice or a credit note by looking for “credit note” wording and translations in OCR results. This helps classify documents more accurately and reduces manual correction during invoice processing.
Original PR description
By checking the presence of the phrase "credit note" or its translations in the OCR results, we can now identify the type of invoices.
Invoice-related automation was updated to use the newer way of setting default currency values after an older internal method was removed. This keeps invoice extraction, bill prediction, and document workflows aligned with the latest accounting behavior and helps prevent failures in those processes.
Original PR description
Task [2197490](https://www.odoo.com/web?#id=2197490&action=333&active_id=967&model=project.task&view_type=form&cids=1&menu_id=4720) The method doesn't exist anymore and has been replaced by a default_get Related PR: https://github.com/odoo/odoo/pull/46522