Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028536Retail ModulesWeb POSpublic2015-01-07 15:262015-01-08 17:35
plujan 
marvintm 
normalmajorhave not tried
closedfixed 
5
 
RR15Q1 
marvintm
QA functional test
2014-11-07
pi
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/195fc620eeb2fcb3b44ba1bb1540ea43ecabe330 [^]
No
0028536: WebPOS frozen at Loading screen after paying two receipts
I've created two tickets and after paying them together the Loading screen is the only thing shown.
Steps are at Testlink: https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-7574 [^]

Login to POS terminal, go to the login URL:

http://{server}/{context}/web/org.openbravo.retail.posterminal/?Test1 [^]

Enter login credentials:
"Username": vallblanca
"Password": openbravo
The POS window will appear.
 To add product click “Browse” button
 Then select “Backpacks & Travel” category
 And from the product list select
Product: Alpine skiing backpack 27 L
Quantity: 5
And verify the below details

Product: Alpine skiing backpack 27 L
Quantity: 5
Unit Price: 109.90
Total line amount: 549.50
Total Gross Amount: 549.50
Tax Breakdown

Tax percentage: Entregas IVA 21%
Taxable Amount: 454.15
Total Tax amount: 95.37
Then tap on the “Total” amount

Verify “549.50 € remaining to pay.” text appears on the right hand side of the terminal, along “OK” (tick) buttons
Without closing the receipt, click New button (* icon) to create one more new receipt

To add product click “Browse” button
 Then select “Backpacks & Travel” category
 And add below products:
Line 1:

Product: Baby Carrier
Quantity: 1
Price: 110.50
Total Line Amount: 110.50
Line 2:

Product: Base Camp Duffel 70 L
Quantity (1)
Price: 89.50
Total Line Amount: 89.50
And verify the below details

Total Gross Amount: 200.00
Tax Breakdown

Tax percentage: Entregas IVA 21%
Taxable Amount: 165.29
Total Tax amount: 34.71
Then tap on the “Total” amount

Verify “200.00 € remaining to pay.” text appears on the right hand side of the terminal, along “OK” (tick) buttons
Without closing the receipt, from dropdown menu click “Pay Open Tickets”

In the “Open Tickets” pop, select the above created receipts and click “Done” button

Verify both the receipts are listed in the POS screen

Line 1:

VBS1/xxxxxx – VBS Customer
549.50 – Remaining to pay 549.50 (Current system date) - 549.50 (amount to be paid)
Line 2:

VBS1/xxxxxx – VBS Customer
200.00 – Remaining to pay 200.00 (Current system date) - 200.00 (amount to be paid)
And verify the below details

Total Gross Amount: 749.50
To complete the receipt tap on the “Total” amount

Verify “749.50 € remaining to pay.” text appears on the right hand side of the terminal, along with “OK” (tick) buttons
Then Tap on Ok (Tick) button

Verify
“Exact amount paid.” text appears
Cash “749.50 with close(X) icon
To complete the receipt, tap on the “Done” button

Expected result:
Success message will appear in the screen
All the Receipts have been saved successfully

Got instead:
Loading window as shown in the attached screenshot
Console output:
 serviceSuccess error: status: -1, error.message: Current user/role has no access to class org.openbravo.retail.posterminal.ProcessCashClose; line: serviceSuccess (http://###/openbravo/web/js/gen/f25e25328a4f72c4c882f7c00e61b0b6_WebPOS.js:38:4 [^]) (*,+)
f25e25328a4f72c4c882f7c00e61b0b6_WebPOS.js:356 The model 'cashup'' has not been synchronized with the server; line: http://###/openbravo/web/js/gen/f25e25328a4f72c4c882f7c00e61b0b6_WebPOS.js:201:1048 [^] (*,+)
f25e25328a4f72c4c882f7c00e61b0b6_WebPOS.js:356 runSyncProcess failed: the WebPOS is most likely to be offline, but a real error could be present.; line: http://###/openbravo/web/js/gen/f25e25328a4f72c4c882f7c00e61b0b6_WebPOS.js:886:772 [^] (*,+)
No tags attached.
related to defect 0028532 closed marvintm First time login shows a message about pending cashups 
caused by feature request 0026974RR15Q1 closed Orekaria Retail Stabilization. Improved cashup stability - save it to the server 
png Loading.png (87,562) 2015-01-07 15:26
https://issues.openbravo.com/file_download.php?file_id=7654&type=bug
png
Issue History
2015-01-07 15:26plujanNew Issue
2015-01-07 15:26plujanAssigned To => marvintm
2015-01-07 15:26plujanFile Added: Loading.png
2015-01-07 15:26plujanTriggers an Emergency Pack => No
2015-01-08 11:41hgbotCheckin
2015-01-08 11:41hgbotNote Added: 0073349
2015-01-08 11:41hgbotStatusnew => resolved
2015-01-08 11:41hgbotResolutionopen => fixed
2015-01-08 11:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7ced7e46cc345734a770d9ba232333bcccd0217e [^]
2015-01-08 12:15hgbotCheckin
2015-01-08 12:15hgbotNote Added: 0073357
2015-01-08 12:15hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7ced7e46cc345734a770d9ba232333bcccd0217e [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a53b39ffd01e4c78d70f42a4b822afe9171b7def [^]
2015-01-08 12:18marvintmReview Assigned To => marvintm
2015-01-08 12:18marvintmStatusresolved => closed
2015-01-08 12:18marvintmFixed in Version => RR15Q1
2015-01-08 12:29migueldejuanaRegression level => QA functional test
2015-01-08 12:29migueldejuanaRegression date => 2014-11-07
2015-01-08 12:29migueldejuanaRegression introduced in release => pi
2015-01-08 12:29migueldejuanaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/195fc620eeb2fcb3b44ba1bb1540ea43ecabe330 [^]
2015-01-08 17:34dmitry_mezentsevRelationship addedcaused by 0026974
2015-01-08 17:35dmitry_mezentsevRelationship addedrelated to 0028532

Notes
(0073349)
hgbot   
2015-01-08 11:41   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7ced7e46cc345734a770d9ba232333bcccd0217e
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jan 08 11:41:23 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7ced7e46cc345734a770d9ba232333bcccd0217e [^]

Fixed issue 0028532, Fixed issue 0028536: Do not check role acces in ProcessCashClose because in every order loaded (by any user) we use this class

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
---
(0073357)
hgbot   
2015-01-08 12:15   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a53b39ffd01e4c78d70f42a4b822afe9171b7def
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jan 08 12:15:25 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a53b39ffd01e4c78d70f42a4b822afe9171b7def [^]

Fixed issue 0028532, Fixed issue 0028536: Do not check role acces in ProcessCashClose because in every order loaded (by any user) we use this class

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