Daily updates from Odoo
Monday, September 5, 2022
7 changes · master
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
A new bridge module prevents Odoo Studio components from loading in the subcontracting portal where they can cause conflicts. This helps keep the subcontracting portal stable while preserving Studio behavior elsewhere.
Original PR description
Creates a bridge module between `mrp_subcontracting` and `web_studio` to solve the incompatibilities between them. Basically the issue is : - `mrp_subcontracting` defines a webclient for the portal view. `home_menu` is removed from the asset bundle. - `home_menu` is required for `studio` and `studio_legacy` services. - Both of those services are removed from the asset bundle as well to avoid incompatibilities. - Studio now implements a patch into the `ListRenderer` that adds the `studio` service in it. So the solution provided here is to remove both the services and the patch from the asset bundle. See odoo/odoo#99013 Part of task-2885757
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.