Daily updates from Odoo
Monday, September 5, 2022
19 changes · master
Enhancements to existing features
The Belgian payroll test setup was adjusted to match updated access rules for selecting an HR Responsible. This helps keep payroll quality checks aligned with the intended restriction that only users with HR Officer rights appear in that role.
Original PR description
The HR Responsible domain was adapted in odoo/odoo#99540 to only show users with HR Officer rights. task-2959207
The Belgian Balance Sheet report no longer includes control lines. This makes the report cleaner and easier for businesses to read while aligning it with the intended reporting format.
Original PR description
This PR removes the control lines from the Belgian Balance Sheet Upgrade: https://github.com/odoo/upgrade/pull/3859 task-id: 2928459
Message notification previews were updated to use the newer channel-based structure. This keeps the mail interface aligned with the current messaging model and helps ensure future improvements are easier to maintain.
Original PR description
Community: https://github.com/odoo/odoo/pull/99342 Part of task-2948676.
The SEPA Direct Debit payment provider setup was updated as part of a broader redesign of payment provider cards. Removing the old description content helps keep the payment provider overview cleaner and more consistent for users.
Original PR description
This commit is part of the rework of the kanban view payment acquirers. Task-2841718 See: - odoo/odoo#98345 - https://github.com/odoo/upgrade/pull/3803
This change adjusts an internal performance test to account for an additional check related to link previews in messaging. It helps keep automated test expectations aligned with current behavior, with no direct impact on day-to-day users.
Original PR description
Extra query to fetch link preview status. https://github.com/odoo/odoo/pull/82641
Resolved issues and error corrections
This fix ensures the timesheet timer button test waits for the needed field to appear before using it. It helps keep automated checks stable and reduces false test failures during development.
Original PR description
Prior to this commit, `Start timer from button line` test was crashing as the Many2One was not always rendered prior its `el` properties to be called. This commit ensures that the element is rendered prior to be called. task-2973325
Updated accounting and Mexico electronic invoicing tests to match the new dedicated payment numbering sequence. This helps ensure payment-related validations remain reliable after the underlying accounting sequence change.
Original PR description
Adapt l10n_mx_edi_40 tests to new dedicated payments sequence Community PR: odoo/odoo#99058 See [task](https://www.odoo.com/web#id=2894299&model=project.task)
Financial report sections that contain sublines can now be folded even when they have no direct results. This makes reports easier to navigate by letting users collapse all section-style lines consistently.
Original PR description
This fix allows you to fold a line that has sublines. Indeed, before this fix, putting a foldable field on this kind of line did not change anything when the line had no result and therefore did not allow to fold it. Thanks to this fix, all sections (so a line with other lines as children) will be foldable. Signed-off-by: maximilien(malb) <malb@odoo.com>
Employee records now show the appraisal shortcut as soon as an appraisal is confirmed, instead of waiting until it is completed. This helps managers and HR teams access active appraisal information earlier and more easily.
Original PR description
On the employee page, you only see the smart button linked to appraisal once an appraisal is done. With this commit, you should be able to see appraisals from the employee page as soon as they are confirmed. taskID 2967507
The list view styling now applies consistently to embedded record lists, not only full-page lists. This prevents visual issues such as unwanted scrollbars and incorrect table header borders, improving usability and presentation.
Original PR description
This commit fixes a selector that hadn't been correctly adapted w.r.t. the new owl list view. As a consequence, those rules only applied on main list views, but not on x2many lists. This implied several issues (scrollbars, th borders...).
The consolidation period kanban view has been adjusted so its top-right dropdown menu works correctly with the updated view system. This prevents users from encountering missing or broken menu actions in the account consolidation interface.
Original PR description
With the freshly merged kanban view, the new view compiler cannot handle propererly the kanbans' top right dropdowns. The compiler looks for a bunch of dom element to build the dropdown, but is faced with a problem if some parts are split inside different templates joined by t-calls. Each template being individually processed by the compiler. To fix this, we just inline the templates. This is a framework limitation for now.
Features or functions removed from Odoo
This change removes special post-install localization test tagging from shared test classes so they are not run as part of normal localization checks. It helps keep test execution focused and avoids running inherited external localization tests in the wrong context.
Original PR description
The common classes are then inherited by external_l10n classes, which should not get run during normal l10n.
Code cleanup and technical improvements
The mobile menu tests for the enterprise home screen were adjusted after a visual styling update to the Burger Menu. This helps ensure the mobile navigation experience remains reliable for users without introducing functional changes.
Original PR description
This commit adapts BurgerMenu's tests specific to the enterprise's HomeMenu as a follow-up of the BurgerMenu's SCSS revamp.
The Helpdesk ticket kanban board has been converted from the older interface technology to Odoo's newer OWL framework. This keeps the ticket workflow view aligned with the modern platform foundation, improving maintainability while preserving the user experience.
Original PR description
Before this commit, the helpdesk ticket kanban view are always in legacy. This commit converts the view into OWL. task-2971174
Miscellaneous changes
Forward port of https://github.com/odoo/enterprise/pull/30976. Linked part of https://github.com/odoo/odoo/pull/99537.
Original PR description
Forward port of https://github.com/odoo/enterprise/pull/30976. Linked part of https://github.com/odoo/odoo/pull/99537.
Steps to reproduce: - create a vendor bill with a product - archive that product - upload a new bill that matches the archived product (example available on the ticket) Bug: the archived product is being predicted Fix: filter archived procuts during prediction opw-2922951 Forward-Port-Of: odoo/enterprise#30969 Forward-Port-Of: odoo/enterprise#30906
Original PR description
Steps to reproduce: - create a vendor bill with a product - archive that product - upload a new bill that matches the archived product (example available on the ticket) Bug: the archived product is being predicted Fix: filter archived procuts during prediction opw-2922951 Forward-Port-Of: odoo/enterprise#30969 Forward-Port-Of: odoo/enterprise#30906
https://github.com/odoo/enterprise/pull/30899 Previous fix uncorrect, because when self.planned_date_begin = False, it crashed on .date() call. Now, if it is False, we return today. Forward-Port-Of: odoo/enterprise#31006
Original PR description
https://github.com/odoo/enterprise/pull/30899 Previous fix uncorrect, because when self.planned_date_begin = False, it crashed on .date() call. Now, if it is False, we return today. Forward-Port-Of: odoo/enterprise#31006
Forward port of https://github.com/odoo/enterprise/pull/30930. Linked part of https://github.com/odoo/odoo/pull/99414. Forward-Port-Of: odoo/enterprise#30976
Original PR description
Forward port of https://github.com/odoo/enterprise/pull/30930. Linked part of https://github.com/odoo/odoo/pull/99414. Forward-Port-Of: odoo/enterprise#30976
Before this commit, When the user has Project - user access and Sales- Own documents only right then trying to assign him a task created from SO gives access error due to insufficient right to read the update the SO based on the task assignee. So in this commit, Check the SO with a super user to assign the SO to the task's assignee. task-2858336 Forward-Port-Of: odoo/enterprise#30898 Forward-Port-Of: odoo/enterprise#27535
Original PR description
Before this commit, When the user has Project - user access and Sales- Own documents only right then trying to assign him a task created from SO gives access error due to insufficient right to read the update the SO based on the task assignee. So in this commit, Check the SO with a super user to assign the SO to the task's assignee. task-2858336 Forward-Port-Of: odoo/enterprise#30898 Forward-Port-Of: odoo/enterprise#27535