Monday, March 17, 2025
2 changes · master
Enhancements to existing features
This update aligns the enterprise e-invoicing integration with a shared approach for fetching electronic invoices and notifying users when new invoices arrive. It helps prepare Odoo for consistent e-invoice workflows across Peppol and future localizations such as Nemhandel.
Original PR description
We start accumulating buttons for fetching electronic invoices and their statuses with different localisations. In addition to peppol, there l10n_tk and soon l10n_dk (with Nemhandel: https://github.com/odoo/odoo/pull/190474) which also needs such a button In addition to these buttons, we also need a standard way of notifying users when receiving einvoices for these different modules This commit just adapts enterprise function signature for the changes made in community related prs: - odoo/upgrade#7205 - odoo/odoo#197233 task-4457146
The IoT system now keeps its websocket connection open by default instead of only opening it for report printing. This simplifies future IoT features while keeping server load low because one shared connection is used per company.
Original PR description
We used to open the websocket channel between iot box and db only when a report was set, to opening a useless connection. In order to simplify the code and reduce complexity when using ws for anything else than printing a report, we removed this logic. Note that we only use one ws channel for all iot boxes on the same company, making the load very small. Upgrade: odoo/upgrade#7383 Task: 4648490