Thursday, September 8, 2022
2 changes
Resolved issues and error corrections
The subscription invoice view now includes invoices from related upsell and renewal orders, not just the original subscription sales order. This gives users a more complete billing history directly from the subscription, reducing missed invoices and manual checks.
Original PR description
Prior to this commit, the invoice tab on the sale order view only showed the invoiced related to the subscription's SO and not to the other SO related to this SO (upsell & renewal). Subscription should show their child invoice in the related invoice view.
This fix preserves the latest spreadsheet notification marker when users refresh or reopen browser tabs. It helps prevent missed updates in Documents spreadsheets after a page reload, keeping collaboration and data refresh behavior reliable.
Original PR description
Before the websocket were introduced, the last notification id was persisted in the local storage in order to use it even after a page reload. The last notification id is now stored on the `SharedWorker` which means this information is lost if the last opened tab is reloaded. This commit fixes this issue by storing this information by the mean of the localStorage. Since the localStorage is not accessible from the worker global scope, the bus service will store this information and relay it to the worker when starting. The worker will now wait to receive the last notification id before subscribing. community: https://github.com/odoo/odoo/pull/99621