Openbravo Issue Tracking System - POS2
View Issue Details
0052718POS2POSpublic2023-06-09 16:032023-06-20 14:29
charlotte_vasseur 
Retail 
normalminoralways
closedfixed 
5
 
 
approved
No
No
0052718: [CROSS STORE] [Verified return] Error 'Order not found' when opening a cross store return on the store of the return
Error ‘Order not found’ on a cross store return when opening it even if the return was actually made on that store because of role
Configure stores Vall Boi and Vall Blanca to do cross store
(window 'Organization', 'Cross Store Organization' = 'White Valley Spain S.A' for both - see Organization cross store.png)

Log in in POS in a touchpoint of store Vall Blanca (VBS2-1)
Use role 'VallBlancaManual' that doesn't have access to organization Vall Boi
(see Role VallBlancaManual.png)

Open an order made on Vall Boi store
Finalize the verified return
In the BO, the organization for the verified return is Vall Boi and the touchpoint is the one of Vall Blanca
(see Return from customer cross store.png)

In POS of store Vall Blanca (VBS2-1)
Go to Orders
Search the previous verified return (via Store or document number)
Open it
=> Error 'Order not found' even if the return was actually made on Vall Blanca
(see Error POS cross store return.png)

It is because the role VallBlancaManual doesn’t have access to store Vall Boi
If we use role VallBlancaUser in POS, no error is displayed
No tags attached.
related to design defect 0052993 closed Triage Platform Conn original ticket not returned in verified returns user action extension 
png Organization cross store.png (206,632) 2023-06-09 16:03
https://issues.openbravo.com/file_download.php?file_id=18637&type=bug
png

png Role VallBlancaManual.png (160,621) 2023-06-09 16:03
https://issues.openbravo.com/file_download.php?file_id=18638&type=bug
png

png Return from customer cross store.png (202,126) 2023-06-09 16:03
https://issues.openbravo.com/file_download.php?file_id=18639&type=bug
png

png Error POS cross store return.png (68,984) 2023-06-09 16:04
https://issues.openbravo.com/file_download.php?file_id=18640&type=bug
png
Issue History
2023-06-09 16:03charlotte_vasseurNew Issue
2023-06-09 16:03charlotte_vasseurAssigned To => Retail
2023-06-09 16:03charlotte_vasseurFile Added: Organization cross store.png
2023-06-09 16:03charlotte_vasseurTriggers an Emergency Pack => No
2023-06-09 16:03charlotte_vasseurFile Added: Role VallBlancaManual.png
2023-06-09 16:03charlotte_vasseurFile Added: Return from customer cross store.png
2023-06-09 16:04charlotte_vasseurFile Added: Error POS cross store return.png
2023-06-12 17:49hgbotMerge Request Status => open
2023-06-12 17:49hgbotNote Added: 0151066
2023-06-20 14:23hgbotMerge Request Statusopen => approved
2023-06-20 14:29hgbotResolutionopen => fixed
2023-06-20 14:29hgbotStatusnew => closed
2023-06-20 14:29hgbotNote Added: 0151381
2023-06-20 14:29hgbotFixed in Version => RR23Q3
2023-06-20 14:29hgbotNote Added: 0151382
2023-07-20 09:26rafarodaRelationship addedrelated to 0052993

Notes
(0151066)
hgbot   
2023-06-12 17:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1240 [^]
(0151381)
hgbot   
2023-06-20 14:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1240 [^]
(0151382)
hgbot   
2023-06-20 14:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 43b814057beb91984fbdd3555fd377bce586a5a6
Author: joan.borras <joan.borras@practicsbs.com>
Date: 20-06-2023 12:22:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/43b814057beb91984fbdd3555fd377bce586a5a6 [^]

Fixes ISSUE-52718: [CROSS STORE] [Verified return] Error 'Order not found' when opening a cross store return on the store of the return

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---