Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045025Retail ModulesWeb POSpublic2020-09-10 10:362020-10-01 08:46
santi_lozano 
prakashmurugesan88 
highmajoralways
closedno change required 
5
 
 
marvintm
No
0045025: [Cross Store] Must give role access to org 2 in order to close a reservation of an order from store 2 after cancelling it
We have an order with a reservation for it, which is from store 2 but was created from web pos of store 1. On web pos of store 1 after cancelling it, the status of the reservation is still on completed (not closed yet) if we haven't given role access to org 2 (from role of store 1)
Which allows role 1 to see transactional documents from backoffice of org 2 that shouldn't be allowed to see
* Access to livebuilds with modules instance, role White Valley Group
* Window Preference. Check that preference “Enable stock reservations” is enabled and also enable “Web pos enable delivery modes”
* Window Organization. For Vall Blanca Store (store 1) fill the cross store organization field on header to be “White Walley Spain SA”
* Window Role. On VallBlancaUser tab Org Access, delete all organizations except Vall Blanca Store
* Window Stock Report. Check stock for product Avalanche Transceiver.
* Add stock for Avalanche Transceiver on Vall Boi Store (store 2). Go to Purchase Order window and create one order for this product and organization
(ie: 200 as qty). Complete it then go to Goods Receipt window to create its reception and complete it. Check that Vall Boi Store now has 200 more of stock on Stock Report window.
* Go to web pos (VBS-1 default link, from store 1). Add Avalanche Transceiver to the ticket, click on the product line, then on Show More to select Check Store. Here click on Select Store to select the stock from Vall Boi Store (store 2). Click on Delivery Mode, select Home Delivery. Click on Apply and again on Apply. Pay for the ticket.
* On window Sales Order from backoffice, select that order. Select its line, click on button Manage Reservation. Select the line and click on done.
* On window Stock Reservation the reservation has been created, status Completed.
* Go to web pos again. On Menu select Open Receipt, search for that order with advanced filter for store 2.
* On web pos Menu click on Cancel this Order. Pay for it to be cancelled.
* On window Stock Reservation it's still in status completed, although the cancellation has been done
* If we had done all the previous steps giving VallBlancaUser role access also to Vall Boi Store (store 2), it would be on status closed
* Apart from that there is also the issue commented on
https://issues.openbravo.com/view.php?id=44974 [^]
No tags attached.
related to defect 0044974 closed prakashmurugesan88 Cancel this order doesn’t close correctly the backoffice stock reservation 
Issue History
2020-09-10 10:36santi_lozanoNew Issue
2020-09-10 10:36santi_lozanoAssigned To => Retail
2020-09-10 10:36santi_lozanoResolution time => 1601503200
2020-09-10 10:36santi_lozanoTriggers an Emergency Pack => No
2020-09-10 10:38santi_lozanoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21672#r21672
2020-09-10 12:47eugeniIssue Monitored: eugeni
2020-09-23 07:49prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-09-24 06:38prakashmurugesan88Statusnew => scheduled
2020-09-28 07:22marvintmReview Assigned To => marvintm
2020-09-28 07:22marvintmNote Added: 0123412
2020-09-28 07:22marvintmStatusscheduled => closed
2020-09-28 07:22marvintmResolutionopen => no change required
2020-09-28 07:22marvintmRelationship addedrelated to 0044974
2020-10-01 06:26hgbotNote Added: 0123469
2020-10-01 08:46hgbotNote Added: 0123473

Notes
(0123412)
marvintm   
2020-09-28 07:22   
After fixing issue https://issues.openbravo.com/view.php?id=44974 [^] this scenario cannot happen anymore, because it will not be possible to cancel an order which has reservations in the backend.
(0123469)
hgbot   
2020-10-01 06:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/116 [^]
(0123473)
hgbot   
2020-10-01 08:46   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/116 [^]