Thursday, March 30, 2023
8 changes · master
Code cleanup and technical improvements
This update reorganizes how Odoo Mail tracks real-time communication channels so it better matches the underlying browser technology. The change is internal and should make future maintenance of voice or video communication features more reliable without changing day-to-day user workflows.
Original PR description
This commit puts the rtcDataChannels field on RtcPeerConnection which is closer to the webRtc implementation.
This change simplifies the shared kanban view framework by removing a rarely used grouping option from the general web module. The CRM forecast view keeps the same behavior through its own dedicated logic, reducing complexity without changing the expected business workflow.
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
Spreadsheet-related data handling has been reorganized so shared spreadsheet fields and import/export logic live in one common foundation. This internal cleanup should make spreadsheet dashboards easier to maintain and extend without changing day-to-day user workflows.
The point of sale hardware connection code was updated to use a newer internal structure and clearer naming. This helps reduce reliance on older framework parts, making future maintenance and upgrades easier without changing cashier-facing functionality.
Original PR description
*: pos_epson_printer, pos_restaurant, pos_six This commit continues the work of reducing the reliance of the pos modules on legacy features from the JS framework, such as core.Class and mixins, by converting the ProxyDevice class to ES6 (and renaming it HardwareProxy, to avoid confusion with DeviceProxy from iot). It also makes it available as a service in the new environment so that we can hopefully get rid of the legacy environment in the near future.
This change reorganizes spreadsheet code so Odoo uses its spreadsheet library through the same module path as an external package. It mainly improves developer tooling, making autocomplete and type checking easier, with no expected direct change for business users.
Original PR description
Using o-spreadsheet features and functions is done using the same import module as if it was installed from npm. Additionaly, by adding the library as dev dependency in package.json[1], IDEs can now leverage Typescript types for autocomplete and type checking. The "alpha" release tag is always the lastest master version. [1] enable web tooling `addons/web/tooling/enable.sh` ;) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update changes how Odoo’s spreadsheet features connect to the shared spreadsheet library, aligning it with a standard package-style setup. It should not visibly change day-to-day use, but it helps developers work faster with better code assistance and type checking, improving long-term maintainability.
Original PR description
Using o-spreadsheet features and functions is done using the same import module as if it was installed from npm. Additionaly, by adding the library as dev dependency in package.json[1], IDEs can now leverage Typescript types for autocomplete and type checking. The "alpha" release tag is always the lastest master version. [1] enable web tooling `addons/web/tooling/enable.sh` ;)
Spreadsheet-related data handling has been reorganized so shared spreadsheet information is managed in one common structure. This internal cleanup should make spreadsheet templates, documents, dashboards, and related accounting or CRM spreadsheet features easier to maintain and evolve with less duplicated logic.
Original PR description
This PR refactors the current model structure of spreadsheet-related module. Data fields are integrated into an abstract model `spreadsheet.mixin` and all sub-models are inherited from it. This way we can group all decode/encode logics into one place. task [3222572](https://www.odoo.com/web#id=3222572&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
This update aligns Point of Sale IoT and Swedish fiscal device integrations with recent internal changes in the core Point of Sale system. It helps keep connected hardware features maintainable and compatible without changing the expected business workflow.
Original PR description
The corresponding community PR converts point_of_sale's ProxyDevice to an ES6 class and removes the JobQueue as it is no longer needed, this commit adapts the overrides on that class to use patch instead of the legacy include system.
Original PR description
This pr refactors the current model structure of spreadsheet-related module. Data fields are integrated into an abstract model `spreadsheet.mixin` and all sub-models are inherited from it. This way we can group all decode/encode logics into one place. task [3222572](https://www.odoo.com/web#id=3222572&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr