Thursday, October 3, 2024
1 change · saas-17.4
Resolved issues and error corrections
This fixes an issue where orders created in one trusted Point of Sale were not visible from another linked Point of Sale. Businesses using shared trusted PoS setups can now access those orders as expected, reducing missed sales visibility and manual checks.
Original PR description
Description of the issue/feature this PR addresses: - The feature of shared trusted PoS is not working in saas~17.4…
Description of the issue/feature this PR addresses: - The feature of shared trusted PoS is not working in saas~17.4  - This is due to fact, the current order is never added to the pendingOrder object. so when [syncAllOrders](https://github.com/odoo/odoo/blob/saas-17.4/addons/point_of_sale/static/src/app/store/pos_store.js#L981) is called from [_setOrder](https://github.com/odoo/odoo/blob/saas-17.4/addons/point_of_sale/static/src/app/screens/ticket_screen/ticket_screen.js#L600-L605) is called, [no orders](https://github.com/odoo/odoo/blob/saas-17.4/addons/point_of_sale/static/src/app/store/pos_store.js#L989) are returned and function [exits early ](https://github.com/odoo/odoo/blob/saas-17.4/addons/point_of_sale/static/src/app/store/pos_store.js#L998) Desired behavior after PR is merged: - Feature works as intended. Steps to reproduce: - install point_of_sale in saas-17.4 version - from setting, add a trusted pos B for Pos A - open both pos in two different tabs/browsers. - Create one order from PoS A, - on opening orders page from pos B, that order should be loaded but it does not.  opw-4160166 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr