Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052703Retail ModulesWeb POSpublic2023-06-08 13:482023-06-23 07:51
ivazquez 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
RR22Q2.3 
RR22Q2.3RR23Q3 
approved
OBPS
66193
No
0052703: Error loading layaway with inactive address
If you deactivate one of the addresses of the business partner, and it has a pending payment layaway that has this address assigned to it, you will not be able to open and finish this layaway because it gives an error when trying to load the order.

Reproduced in: https://livebuilds.openbravo.com/context/retail_mp_3.0RR22Q2.3/web/org.openbravo.retail.posterminal/?terminal=VBS-1#retail.pointofsale [^]

The video reproducing the error (in Spanish): https://youtu.be/Pye2NS87ov8 [^]
- Create a new business partner (not mandatory)
- Assing the business partner with a new order and made it a Layaway
- Modify the business partner in order to add a new address and made an order with this new address (this last part is not mandatory)
- Go to the back office, found the business partner, and deactivate the first address.
- Go to the WebPOS and perform a Refresh Data.
- After the Refresh Data, try to open the Layaway in order to fully pay it

You will see that nothing happen and if you open the DevTools, in the Console section you'll see an error.
No tags attached.
Issue History
2023-06-08 13:48ivazquezNew Issue
2023-06-08 13:48ivazquezAssigned To => Retail
2023-06-08 13:48ivazquezOBNetwork customer => OBPS
2023-06-08 13:48ivazquezSupport ticket => 66193
2023-06-08 13:48ivazquezTriggers an Emergency Pack => No
2023-06-08 13:51PracticsIssue Monitored: Practics
2023-06-13 18:36ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-06-14 08:10ranjith_qualiantech_comStatusnew => scheduled
2023-06-16 07:27hgbotMerge Request Status => open
2023-06-16 07:27hgbotNote Added: 0151248
2023-06-23 07:50hgbotMerge Request Statusopen => approved
2023-06-23 07:51hgbotNote Added: 0151534
2023-06-23 07:51hgbotResolutionopen => fixed
2023-06-23 07:51hgbotStatusscheduled => closed
2023-06-23 07:51hgbotFixed in Version => RR23Q3
2023-06-23 07:51hgbotNote Added: 0151535

Notes
(0151248)
hgbot   
2023-06-16 07:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1247 [^]
(0151534)
hgbot   
2023-06-23 07:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1247 [^]
(0151535)
hgbot   
2023-06-23 07:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 4b5263bf281ef79c3e47c143406f2b86ecf9f6d5
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 23-06-2023 05:30:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4b5263bf281ef79c3e47c143406f2b86ecf9f6d5 [^]

Fixed ISSUE-52703: Location should be fetched from backoffice when loading paid receipt
* When opening paid receipt, location should be fetched from backoffice
  if location is not present in POS

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/LoadTicketUtils.js
M web/org.openbravo.retail.posterminal/js/components/bplocation.js
---