Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036717Retail ModulesWeb POSpublic2017-08-25 09:402017-09-15 12:17
guillermogil 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR17Q4 
marvintm
No
0036717: WebPOS can finish a ticket without calculating all the lines
WebPOS can finish a ticket without calculating all the lines.
On a usual workflow it should not be possible but with low-end computers or with a lot of CPU and RAM consumed can happen.
Although Total button is disabled when a calculate receipt happens is it possible to launch a Calculate receipt (due to slowness on the computer) on payment mode and Done button is always enabled.
If the button gets clicked it relies on the following error:
org.codehaus.jettison.json.JSONException: JSONObject["taxLines"] not found.
And the customer did not pay the whole ticket.
In a middle of a calculateReceipt click Done button in Payment Mode.

See diff attached
No tags attached.
related to defect 0036893 closed jorge-garcia If WebPOS is on Payment Tab it should not be possible to add products 
related to defect 0039472 closed ranjith_qualiantech_com WebPOS can finish a ticket without calculating all the lines 
? ReceiptBeingPrepared.dif (2,366) 2017-08-25 09:40
https://issues.openbravo.com/file_download.php?file_id=11012&type=bug
Issue History
2017-08-25 09:40guillermogilNew Issue
2017-08-25 09:40guillermogilAssigned To => Retail
2017-08-25 09:40guillermogilFile Added: ReceiptBeingPrepared.dif
2017-08-25 09:40guillermogilResolution time => 1505426400
2017-08-25 09:40guillermogilTriggers an Emergency Pack => No
2017-08-25 10:54guillermogilSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15715#r15715
2017-08-25 11:26guillermogilReproducibilitysometimes => always
2017-08-25 11:26guillermogilDescription Updatedbug_revision_view_page.php?rev_id=15717#r15717
2017-08-28 08:13egoitzIssue Monitored: egoitz
2017-08-28 08:14egoitzIssue Monitored: malsasua
2017-09-07 15:13ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-09-07 15:13ranjith_qualiantech_comStatusnew => scheduled
2017-09-08 08:10hgbotCheckin
2017-09-08 08:10hgbotNote Added: 0098895
2017-09-08 08:10hgbotStatusscheduled => resolved
2017-09-08 08:10hgbotResolutionopen => fixed
2017-09-08 08:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1c367b0dbcfa0bdbd0fe1c90151f02bcb26731a6 [^]
2017-09-15 12:17marvintmReview Assigned To => marvintm
2017-09-15 12:17marvintmStatusresolved => closed
2017-09-15 12:17marvintmFixed in Version => RR17Q4
2017-09-19 16:04guillermogilRelationship addedrelated to 0036893
2018-10-17 18:22aaroncaleroRelationship addedrelated to 0039472

Notes
(0098895)
hgbot   
2017-09-08 08:10   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1c367b0dbcfa0bdbd0fe1c90151f02bcb26731a6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Sep 08 11:39:29 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1c367b0dbcfa0bdbd0fe1c90151f02bcb26731a6 [^]

Fixed issue 36717 : Validate receipt is calculated while clicking DONE Button

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---