Daily updates from Odoo
Navigate
Branch
Wednesday, August 3, 2022
15 changes
New functionality added to Odoo
Project and Field Service users can now automatically schedule selected tasks in the Gantt view instead of placing them all at the same time. The scheduling considers company time off, employee availability, existing assignments, task dependencies, planned hours, and priority so teams can avoid conflicts and plan work more realistically.
Original PR description
Purpose ======= When the user wants to plan some tasks in Project or Field Service app in the tasks gantt view, he can use the magnifying glass. The problem is when he selects his tasks to plan and…
Purpose ======= When the user wants to plan some tasks in Project or Field Service app in the tasks gantt view, he can use the magnifying glass. The problem is when he selects his tasks to plan and validate all selected tasks will be planned to the day/hour (according to the range) in which he selects the magnifying glass. Moreover, the tasks planned could be in conflict with another tasks in a basic project if a user assigned into those tasks has another task planned in the same for another project. This PR gives the opportunity to user to have an automatic scheduling for tasks in the gantt view of a project. The tasks will be scheduled in accordance with the global leaves of the company and the hours planned for the tasks. If the tasks has no planned hours, they are scheduled by default for a full day on the day the user selected. If the tasks are assigned to a specific user, the scheduling will take into account the personal leaves and the tasks already assigned (even in another project) to the user. The planned dates also depend of the tasks dependencies and the priority level of tasks. Moreover the tasks which are labelled as important will be scheduled before the others ones. Also, the project python file in `industry_fsm` has been split into 2 files to have one model per file. task-2605513
Enhancements to existing features
This update improves several day-to-day project management screens by making planning dates, planned hours, and related actions clearer and easier to access. It also adjusts visibility and navigation options so users see more relevant information in project sharing, timesheet, planning, and product-related workflows.
Original PR description
**= project_forecast,project_timesheet_forecast Purpose of this PR to improve generic usage of project app. So, in this PR done following changes: - Added planning end date in project sharing kanban viewproject sharing kanban view - Changed Burger menu actions in project.project kanban view - In product form view hide button based on condition - Added planned date in project sharing form view - In project.update right-side panel changed label hours forecast to hours planned - In project.project form view improved timesheet and planning analysis button task-2895388
Spreadsheet date filters can now apply an offset when matching fields, such as showing the previous month for a selected month. This gives users more flexible reporting views without manually changing each pivot or list filter.
Original PR description
Allow the user to define an offset on the matched field when creating a date global filter. For example a global filter `month` on december 2022 with an offset `previous_period` (-1), will filter the pivot on november 2022. Odoo task [2909078](https://www.odoo.com/web#id=2909078&menu_id=4720&cids=1&action=333&active_id=2328&model=project.task&view_type=form)
This update adds performance coverage around asset-related accounting entries and includes refinements across several accounting workflows. It helps protect business-critical accounting processes from slowdowns while improving reliability in areas such as reconciliation, assets, tax reporting, payments, and follow-up reporting.
This update refreshes and simplifies the styling behind search panels and related tree-style navigation areas. It improves visual consistency with the broader Odoo 16 interface restyle and makes the same design easier to reuse in Documents, Knowledge, and Enterprise web views.
Original PR description
Mirror community changes, https://github.com/odoo/odoo/pull/87687. This commit simplifies the component SCSS improving bootstrap integration and allowing components other than 'SearchPanel' to use the same tree-view design. Part of the overall v16 SCSS optimization/restyle, task-2704984. task-2795166 requires: - https://github.com/odoo/odoo/pull/87448 -> Merged ✓ - https://github.com/odoo/enterprise/pull/25700 -> Merged ✓ community: - https://github.com/odoo/odoo/pull/87687
This change updates the project planning timeline controls used in Gantt views. It appears to be a small adjustment affecting project task scheduling and general Gantt behavior, with limited business impact based on the available details.
Resolved issues and error corrections
Progress bars now display with the correct width when shown inside list/table views. This improves readability and prevents misleading or poorly formatted progress indicators for users reviewing records.
Original PR description
This commit fixes the style of the progressbar field widget displayed in a list (table). Since the field is contained in a div, its width was not correctly applied.
This fix makes the helpdesk search autocomplete message readable when a website uses a dark color palette. Visitors will now be able to clearly see the “no results” message instead of it blending into the background.
Original PR description
For the messages inside autocomplete boxes to be readable when a dark palette is used, [1] needs to be applied - but it requires that the element with the `text-muted` class is nested within the element with the `dropdown-item-text` class. This commit adapts the autocomplete template accordingly. [1]: https://github.com/odoo/odoo/commit/0e9f1c966abed9a12a986fa5b10961933790ce7a task-2855511
Sharing an individual image document now works without triggering an error. This prevents users from being interrupted when sending standalone documents through the Documents app.
Original PR description
**Before this commit:** While sharing a single document (only Image- jpg/png/...), the traceback will occur (TypeError: container.querySelector is not a function). **After this commit:** Traceback will not occur while sharing doc. **Task**-1965880
Clicking a phone number while VoIP is installed no longer causes an error. Instead, it opens the VoIP dialing panel as expected, improving reliability for users who place calls from Odoo records.
Original PR description
Before this commit, it crashed when the user clicked on the value of a PhoneField, with voip installed. After this commit, it opens the voip DialingPanel as expected. This commit also duplicates and adapts the (small) test suite for the voip PhoneField, s.t. the new implementation is tested as well. Before, only the legacy implementation was tested.
Code cleanup and technical improvements
The IoT log download button and related alert dialog have been rebuilt using Odoo’s newer interface framework. This keeps the feature easier to maintain while preserving the same business function for users managing IoT devices.
Original PR description
Convert the iot_download_logs widget to owl. This PR also converts the dialog from iot_mixins.js to an owl component
Miscellaneous changes
…izard Remove the payments if possible instead of reversing them everytime. task: 2896854 Forward-Port-Of: odoo/enterprise#28933
Original PR description
…izard Remove the payments if possible instead of reversing them everytime. task: 2896854 Forward-Port-Of: odoo/enterprise#28933
The journal report has sub-tables. The header of these are set to move with the scrolling because of a css rule that is not precise enough, it was fixed in reportalypse but should be fixed in 15.4 too as it affect the report. Task id #2942317 Forward-Port-Of: odoo/enterprise#30070
Original PR description
The journal report has sub-tables. The header of these are set to move with the scrolling because of a css rule that is not precise enough, it was fixed in reportalypse but should be fixed in 15.4 too as it affect the report. Task id #2942317 Forward-Port-Of: odoo/enterprise#30070
Activate a rtl language Open Accounting > Reporting > Balance sheet Report is shown RTL Print preview Pdf is shown LTR opw-2922129 Forward-Port-Of: odoo/enterprise#29918
Original PR description
Activate a rtl language Open Accounting > Reporting > Balance sheet Report is shown RTL Print preview Pdf is shown LTR opw-2922129 Forward-Port-Of: odoo/enterprise#29918
The search for debit & credit accounts for counterpart lines when resolving rounding issues is done on hard coded account codes. Some clients have different codes. More specifically, codes are sometimes longer (2 zeros more). This would generate an error as no accounts were found. The new search allows for more flexibility in account codes. Tasks: opw-2920760, opw-2925228 Forward-Port-Of: odoo/enterprise#29994
Original PR description
The search for debit & credit accounts for counterpart lines when resolving rounding issues is done on hard coded account codes. Some clients have different codes. More specifically, codes are sometimes longer (2 zeros more). This would generate an error as no accounts were found. The new search allows for more flexibility in account codes. Tasks: opw-2920760, opw-2925228 Forward-Port-Of: odoo/enterprise#29994