Friday, April 19, 2024
1 change · 17.0
Resolved issues and error corrections
This update resolves an issue where the Point of Sale system would fail to load if the browser cache contained invalid orders from a previous database version. After system upgrades, cached unpaid orders may become incompatible with new field structures. The fix automatically removes these problematic cached orders, allowing the PoS to load successfully without manual intervention.
Original PR description
Prior to this commit, the presence of an invalid order in the browser cache could prevent the PoS from loading. This issue typically arises after a database upgrade, where changes in fields can render unpaid orders in the cache unloadable. This commit resolves this issue by discarding any problematic unpaid orders that can no longer be loaded. opw-3874858 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr