Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038365Retail ModulesWeb POSpublic2018-04-13 13:132018-07-30 15:40
asiermartirena 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR18Q3 
marvintm
No
0038365: Problems when trying to open a ticket without permission for that type of ticket
In Web POS, there's the possibility to allow or not to open a tickets depending of the tickets type (there are preferences to allow this). When a ticket is not allowed to be opened and the user tries to open it, the open receipt selector gets locked and it is not possible to load any other ticket until the user presses F5. This occurs because the error callback function is not called, so the Web POS thinks that the first load process is still active.
Configure the 'Web POS Open Layaways' to N.

Load the Web POS.

Try to open a layaway -> A popup appears telling that the user doesn't have permissions to open it

Try to open another ticket (can be a receipt) -> The ticket is not loaded and no message appears
SER-QA
patch proposedSolution.patch (970) 2018-04-13 13:13
https://issues.openbravo.com/file_download.php?file_id=11731&type=bug
Issue History
2018-04-13 13:13asiermartirenaNew Issue
2018-04-13 13:13asiermartirenaAssigned To => Retail
2018-04-13 13:13asiermartirenaFile Added: proposedSolution.patch
2018-04-13 13:13asiermartirenaResolution time => 1524780000
2018-04-13 13:13asiermartirenaTriggers an Emergency Pack => No
2018-04-13 13:14asiermartirenaTag Attached: SER-QA
2018-04-17 18:58rqueraltaAssigned ToRetail => rqueralta
2018-04-17 19:00rqueraltaStatusnew => scheduled
2018-04-19 16:44hgbotCheckin
2018-04-19 16:44hgbotNote Added: 0103999
2018-04-19 16:44hgbotStatusscheduled => resolved
2018-04-19 16:44hgbotResolutionopen => fixed
2018-04-19 16:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/953ae5968b256d5050b5b892d43d029e002e1888 [^]
2018-04-26 10:45marvintmReview Assigned To => marvintm
2018-04-26 10:45marvintmStatusresolved => closed
2018-04-26 10:45marvintmFixed in Version => RR18Q3
2018-07-30 15:40hgbotCheckin
2018-07-30 15:40hgbotNote Added: 0106019

Notes
(0103999)
hgbot   
2018-04-19 16:44   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 953ae5968b256d5050b5b892d43d029e002e1888
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Tue Apr 17 15:00:39 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/953ae5968b256d5050b5b892d43d029e002e1888 [^]

Fixed issue 38365: Problems when trying to open a ticket without permission for
that type of ticket

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0106019)
hgbot   
2018-07-30 15:40   
Repository: tools/automation/pi-mobile
Changeset: 3df81719a438eed4b955c092b3643c7680fceb6a
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Fri Jul 13 11:29:38 2018 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3df81719a438eed4b955c092b3643c7680fceb6a [^]

Related to issue 38365: added automated test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I38365_VerifyOpenLayawayWithoutPermissionForThatTicket.java
---