Friday, March 22, 2024
2 changes · saas-17.1
Resolved issues and error corrections
The Peru website shop checkout now lets customers choose state, city, and district information without triggering an error. This prevents checkout disruption for Peruvian websites and helps customers complete purchases smoothly.
Original PR description
### Steps to reproduce: - Install **l10n_pe_website_sale** module. - Switch to **PE Company**. - While Enabling the debug mode, Go to **Website** > **Configuration** > **Websites** and add a new website for the **PE Company**. - Go to **Website** > **Shop**, Switch to the new website and add a product to the cart. - Checkout the cart. - In the address section, try to choose a state. - An error arises: `Uncaught Javascript Error > this.rpc is not a function` ### Investigation: - `this.rpc` is no longer used in 17.1. It's `undefined`. opw-3793838
This fixes an issue where point of sale orders from different POS configurations could use the same browser storage area. Each POS setup now uses its own storage name, reducing the risk of orders being mixed up or overwritten on shared devices.
Original PR description
The UUID in the localstorage name was not being used, so it was always the same. All different pos config should have different localstorage.