Friday, May 27, 2022
4 changes · master
New functionality added to Odoo
This change lets accounting users manage recurring purchase bills by automatically posting scheduled vendor bills and updating their recurrence dates. It reduces manual work for repeated bills and helps keep payables processing timely and consistent.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
Recurring project tasks now automatically carry over their assigned people and planned start and end dates when new tasks are created. This helps teams keep recurring work scheduled and assigned consistently, and also improves the delete dialog for recurring tasks.
Original PR description
Prior this, the user_ids, planned_date_begin and planned_date_end were not set automatically upon creation of recurrent task. Also made a fix in the dialog to delete recurrent tasks. task-2835618 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This fix stops Odoo from automatically loading hidden form views inside related record fields, because that behavior caused unnecessary recalculations and could slow down or break some workflows. List and kanban views will still be preloaded, preserving the intended performance benefit where it is safer.
Original PR description
odoo/odoo#87522 introduced the concept to automatically inline tree, kanban and form views under one2many/many2many fields within form views. The goal being for the web client to make less…
Belgian payroll reports have updated layouts for 281.10, 281.45, and individual account documents. This makes employee and tax-related payroll reports clearer and easier to use for payroll teams.
Original PR description
This commit aims to improve the report layouts for : - 281.10 - 281.45 - Individual reports taskID 2832631
odoo/odoo#87522 introduced the concept to automatically inline tree, kanban and form views under one2many/many2many fields within form views. The goal being for the web client to make less `get_views` calls. However, currently, automatically inlined form views under one2many/many2many fields leads to more triggered onchanges than before, triggering more field computations than before, potentially leading to performance issues as more fields are computed than before. Besides, they are not visible in the tree/kanban view and their computation can therefore be considered useless. At worst, it can even causes bugs, by triggering computation in places they were not used / do not handle correctly, as explained in https://github.com/odoo/odoo/pull/87522#issuecomment-1132554918 odoo/odoo#91878 This revision reverts the behavior to automatically inline form views, while keeping the inlining of kanban/tree views. However, by reverting this, we re-introduce a limitation of the web client behavior regarding onchanges, explained in odoo/odoo#91935. This is therefore not perfect, but at least the previous behavior is back. In the future, work will be done to re-introduce the automatically inlined form view, while solving both issues: - Do not trigger more onchanges than necessary, - Solve the limitation of the web client shown in odoo/odoo#91935