Daily updates from Odoo
Thursday, March 3, 2022
16 changes · master
Enhancements to existing features
The VoIP calling library has been upgraded to a newer version to improve standards compliance and compatibility with phone systems. This change modernizes the calling foundation and prepares the module for future improvements, with a meaningful impact on call handling behavior such as transfers.
Original PR description
This commit updates the SIP.js library from v0.13.8 to v0.20.0. The new SIP.js API is substantially different from the old one and introduces many breaking changes, including: + Replacing all events with "delegates" + No longer providing any interface to catch userMedia events + Renaming classes, for example: UA -> UserAgent + Renaming/deleting/reorganizing User Agent/SD-handler options + Replacing registration methods on UA with a new class Registerer + Replacing invitation methods on UA with a new class Inviter + Replacing plain text URIs with instances of the new class URI Reasons to upgrade the library are: + Better compliance with the RFC and therefore better compatibility + Fewer lines of code + Interesting step for further refactorings Task-2765536
Resolved issues and error corrections
This update fixes unstable automated tests in the project planning area so they produce consistent results. It helps maintain confidence in future changes by reducing random test failures that can slow down development and releases.
Original PR description
Prior to this commit: - Tests were failing in an indeterministic way due to queryCounters and calls to has_group() which seemed to be called 2 more times than usual in certain circumstances. After this commit: - The combined use of warmup decorator and invalidate_cache will ensure that the queryCounter is only made on relevant queries. - This commit also add missing messages in some asserts.
This update refreshes the spreadsheet engine used in Documents to include multiple reliability and usability fixes. Users should see smoother spreadsheet editing, better collaboration behavior, improved copy/paste formatting, and fewer focus or scrolling issues.
Original PR description
…mmit odoo/o-spreadsheet@39bbfac [FIX] menu_items: multiple zones of rows/cols odoo/o-spreadsheet@1829190 [REF]*: faster chars join everywhere odoo/o-spreadsheet@75ffa3e [FIX] Topbar: Allow display…
…mmit odoo/o-spreadsheet@39bbfac [FIX] menu_items: multiple zones of rows/cols odoo/o-spreadsheet@1829190 [REF]*: faster chars join everywhere odoo/o-spreadsheet@75ffa3e [FIX] Topbar: Allow display of multiple components odoo/o-spreadsheet@0a4f583 [IMP] Datasource: add triggers on datasource registry odoo/o-spreadsheet@17afdda [REM] model: remove debug information odoo/o-spreadsheet@0c678f8 [IMP] add conditional formatting rules priority odoo/o-spreadsheet@fc7bfa4 [IMP] registry: allow to obtain the keys of the registry odoo/o-spreadsheet@d7f64de [FIX] viewport,grid: prevent scrolling loop odoo/o-spreadsheet@ffaefcb [IMP] clipboard: don't overwrite borders odoo/o-spreadsheet@996217a [IMP] model: mark model as "raw" (not reactive) Fixes in saas-15.2: odoo/o-spreadsheet@d3ba2ed [FIX] composer: move cursor with arrow keys odoo/o-spreadsheet@ebcd699 [FIX] composer: focus grid composer after topbar composer Forward ported from saas-15.1: odoo/o-spreadsheet@9864df2 [FIX] viewport: Allow valid non-integer offsets Forward ported from 15.0: odoo/o-spreadsheet@da1fa4e [FIX] import: can import cells outside sheet size odoo/o-spreadsheet@af31e57 [FIX] figure: changing selection mode should not affect a selected figure odoo/o-spreadsheet@96adab4 [FIX] menu: focus grid on close odoo/o-spreadsheet@5317eb6 [FIX] sidePanel: focus grid on close odoo/o-spreadsheet@f05e1b2 [FIX] evaluation: evaluate all sheets forces the evaluation odoo/o-spreadsheet@9144a84 [FIX] collaborative: export cell styles in the same order odoo/o-spreadsheet@069ccd5 [FIX] collaborative: don't expand zone when col/row is added before next col odoo/o-spreadsheet@00830c3 [FIX] collaborative: don't mutate command when computing inverse odoo/o-spreadsheet@2f5e092 [FIX] collaborative: compute transformation with last received commands odoo/o-spreadsheet@55b4f54 [FIX] collaborative: drop local revisions after empty commands odoo/o-spreadsheet@745a7f5 [FIX] collaborative: correctly insert undo/redo revisions odoo/o-spreadsheet@36b75ab [FIX] collaborative: insert revision into last selective history branch odoo/o-spreadsheet@a63de39 [FIX] figures: check if figure exists before updating or deleting
Code cleanup and technical improvements
This update refreshes icon usage across several Odoo Enterprise screens to better match the latest product design direction. It improves icon clarity at standard sizes and keeps sizing more consistent where different icon sets are used together.
Original PR description
Mirrors changes in community. - community: https://github.com/odoo/odoo/pull/85651 Following new policies in terms of product design-language, this commit will partially revert 546477d reducing the number of `oi` icons. It will also improve rendering when icons are rendered at our default font-size (13px), avoiding blur effects when icons use thin lines. Since fontAwesome will coexists with `oi` longer than expected, the commit will also review size utility-classes in order to get consistent result when used in conjunction with fa's ones (notably `fa-lg`).
Odoo Enterprise notifications were visually updated to better match the version 16 design refresh, including sharper toast styling and adjusted shadows. Related automated tests were updated so barcode and Studio workflows continue to validate correctly with the new notification appearance.
Original PR description
This commit will add a border-radius of 0 to the toast of the notification component instead of a rounded border-radius for community and changes somes values for the tests. This commit is part of v16 overall restyle and cleaning ; and in this case, the notification component that has a new look and its SCSS cleaned up. Related to: https://github.com/odoo/odoo/pull/82524 task#2719037
Several business-facing views were aligned with a broader layout update in Odoo. This keeps dashboards, cohort reports, maps, documents spreadsheets, and website sales reporting consistent and easier to maintain without introducing major functional changes.
This update removes an obsolete internal parameter from the Sale Coupon TaxCloud area. It has no expected impact on day-to-day use, but helps keep the code simpler and easier to maintain.
Original PR description
This parameter was introduced in this commit fe41fb2 and is no longer used.
Several enterprise views, including dashboards, maps, cohorts, and spreadsheet-related tests, were updated to use Odoo's newer interface foundation. This is an internal modernization that helps keep these business tools maintainable and aligned with the main Odoo platform without changing day-to-day functionality.
Original PR description
This commit is the enterprise counter-part of odoo/odoo#85631
This update modernizes internal web, mobile, dashboard, and studio test code by removing temporary reliance on older component behavior. It helps keep the platform aligned with the current frontend framework and reduces future maintenance risk, with little direct impact on end users.
Original PR description
*: web_mobile, web_studio This commit adapts the code of tests to remove the use of the LegacyComponent, which was used temporarily since owl 2 no longer supports comp.el on Components.
Miscellaneous changes
Forward-Port-Of: odoo/enterprise#24900 Forward-Port-Of: odoo/enterprise#24825
Original PR description
Forward-Port-Of: odoo/enterprise#24900 Forward-Port-Of: odoo/enterprise#24825
A previous PR (see odoo/enterprise#9339) added a filtering on the accepted files when uploading a custom HomeMenu background with Studio. This commit restores that behavior by letting the user selects image files only. task-2766273 Forward-Port-Of: odoo/enterprise#24594
Original PR description
A previous PR (see odoo/enterprise#9339) added a filtering on the accepted files when uploading a custom HomeMenu background with Studio. This commit restores that behavior by letting the user selects image files only. task-2766273 Forward-Port-Of: odoo/enterprise#24594
A calendar event id was set in the appointment type action which made the related tree view of events always open the same calendar event record. Introduced by commit 9f98add Task-2781359 Forward-Port-Of: odoo/enterprise#24841
Original PR description
A calendar event id was set in the appointment type action which made the related tree view of events always open the same calendar event record. Introduced by commit 9f98add Task-2781359 Forward-Port-Of: odoo/enterprise#24841
A previous PR (see odoo/enterprise#9339) added a filtering on the accepted files when uploading a custom app icon in Studio. This commit goes further by restricting to PNG files only as the rest of the codebase for app icons only properly handles this image format (see "data:image/png;base64..." in the IconCreator upload handler). As an example, when trying to upload a JPEG file, the icon won't be displayed properly. task-2766273 Forward-Port-Of: odoo/enterprise#24916 Forward-Port-
Original PR description
A previous PR (see odoo/enterprise#9339) added a filtering on the accepted files when uploading a custom app icon in Studio. This commit goes further by restricting to PNG files only as the rest of the codebase for app icons only properly handles this image format (see "data:image/png;base64..." in the IconCreator upload handler). As an example, when trying to upload a JPEG file, the icon won't be displayed properly. task-2766273 Forward-Port-Of: odoo/enterprise#24916 Forward-Port-Of: odoo/enterprise#24584
Task: 2736446 Currently: - When all statement lines are automatically reconciled, users see a blank screen Should be: - Users should see a notification about the automatic reconciliation Forward-Port-Of: odoo/enterprise#23946
Original PR description
Task: 2736446 Currently: - When all statement lines are automatically reconciled, users see a blank screen Should be: - Users should see a notification about the automatic reconciliation Forward-Port-Of: odoo/enterprise#23946
Forward-Port-Of: odoo/enterprise#24741 Forward-Port-Of: odoo/enterprise#24730
Original PR description
Forward-Port-Of: odoo/enterprise#24741 Forward-Port-Of: odoo/enterprise#24730
Forward-Port-Of: odoo/enterprise#24888 Forward-Port-Of: odoo/enterprise#24827
Original PR description
Forward-Port-Of: odoo/enterprise#24888 Forward-Port-Of: odoo/enterprise#24827