Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033589Retail ModulesWeb POSpublic2016-07-29 12:512016-08-25 12:52
Orekaria 
Retail 
normalmajoralways
closedfixed 
5
 
RR16Q3.1RR16Q3.1 
guilleaer
No
0033589: Approval is taking too long
When a clerk tries to delete a product line the POS asked for an approval. The manager approved this transaction via
approval window (This is a preference). After the manager approved the transaction, it takes lots of time to delete the product line. This happend in a ticket (standard) and in a devolution ticket.
This allows the clerk, to clic the button delete several times. Even when the POS is procesing the delete action
In a high volume context
Configure a user to require delete ticket approval
In the WebPOS
Create a ticket, add a product
Delete the ticket
The approval window will show up
Open the developer tools, network view
Add the credentials for the approval and click ok
Wait until the approval has been granted
Verify in the developer tools that the time taken is too long (see screenshot attached)


When a clerk tries to delete a product line the POS asked for an approval. The manager approved this transaction via
approval window (This is a preference). After the manager approved the transaction, it takes lots of time to delete the product line. This happend in a ticket (standard) and in a devolution ticket.
This allows the clerk, to clic the button delete several times. Even when the POS is procesing the delete action
No tags attached.
blocks defect 0033568 closed ranjith_qualiantech_com Approval is taking too long 
Issue History
2016-08-02 09:40OrekariaTypedefect => backport
2016-08-02 09:40OrekariaTarget Version => RR16Q3
2016-08-04 11:25marvintmTarget VersionRR16Q3 => RR16Q3.1
2016-08-16 20:56hgbotCheckin
2016-08-16 20:56hgbotNote Added: 0089156
2016-08-16 20:56hgbotStatusscheduled => resolved
2016-08-16 20:56hgbotResolutionopen => fixed
2016-08-16 20:56hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q3.1/org.openbravo.retail.posterminal/rev/2dfa09f42add12b79160bbc5ed883fbe00667238 [^]
2016-08-25 12:52guilleaerReview Assigned To => guilleaer
2016-08-25 12:52guilleaerStatusresolved => closed
2016-08-25 12:52guilleaerFixed in Version => RR16Q3.1

Notes
(0089156)
hgbot   
2016-08-16 20:56   
Repository: retail/backports/3.0RR16Q3.1/org.openbravo.retail.posterminal
Changeset: 2dfa09f42add12b79160bbc5ed883fbe00667238
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Aug 03 11:09:26 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.1/org.openbravo.retail.posterminal/rev/2dfa09f42add12b79160bbc5ed883fbe00667238 [^]

Fixes issue 33589 : Approval is taking too long.
*Replaced ad_isorgincluded(...) function with Organization natural tree list.
*Replaced multiple use of list() with List Object

---
M src/org/openbravo/retail/posterminal/utility/CheckApproval.java
---