Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047322Retail ModulesWeb POSpublic2021-07-02 13:042021-07-19 12:29
maite 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR21Q4 
No
0047322: In a Cross Store Verified Return, the customer should not be set until the return line is added
Now the customer is set to the receipt before the line is added so in case the cross store line addition finally fails for any reason the receipt will be inconsistent: you are not finally creating a cross store document but the business partner set in the ticket belongs to another store.

0. Access to https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VB-1 [^]
1. Click on Verified Returns
2. Click on Advanced Filter and change Store filter to "All stores". Apply filters
3. Select Orhi ticket so cross store ticket lines are loaded
4. At this point you can check directly in the console the receipt properties and realize that the customer is OHS Customer. So in case the line addition finally fail, the ticket will be corrupted
No tags attached.
Issue History
2021-07-02 13:04maiteNew Issue
2021-07-02 13:04maiteAssigned To => Retail
2021-07-02 13:04maiteResolution time => 1626991200
2021-07-02 13:04maiteTriggers an Emergency Pack => No
2021-07-02 14:04maiteIssue Monitored: networkb
2021-07-08 08:30ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-07-16 09:31guilleaerStatusnew => scheduled
2021-07-19 03:55hgbotNote Added: 0130549
2021-07-19 12:29hgbotResolutionopen => fixed
2021-07-19 12:29hgbotStatusscheduled => closed
2021-07-19 12:29hgbotNote Added: 0130565
2021-07-19 12:29hgbotFixed in Version => RR21Q4
2021-07-19 12:29hgbotNote Added: 0130566

Notes
(0130549)
hgbot   
2021-07-19 03:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/21 [^]
(0130565)
hgbot   
2021-07-19 12:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/21 [^]
(0130566)
hgbot   
2021-07-19 12:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns [^]
Changeset: eec149dd2723fb71cff95116a440bd74deba4582
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-07-19T15:43:21+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/commit/eec149dd2723fb71cff95116a440bd74deba4582 [^]

Fixed ISSUE-47322: Receipt should be restored when adding verified return line failed

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
M web/org.openbravo.retail.returns/js/returnUtils.js
---