Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029627Retail ModulesMulti order paymentpublic2015-04-17 14:152016-04-20 13:04
lorenzofidalgo 
jorge-garcia 
normalmajoralways
closedfixed 
5
main 
 
migueldejuana
No
0029627: Wrong messages are shown in POS and some buttons get blocked following certain steps with "Pay Open Tickets" feature
Following certain steps during "Pay Open Tickets" process induces POS to generate incorrect results. Besides, OK (tick) and Total Amount buttons get blocked.
0-Login to POS terminal, go to the login URL:

http://{server}/{context}/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] [^]

Enter login credentials:
"Username": vallblanca
"Password": openbravo
The POS window will appear.

1-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

2-Click "Pay open tickets" dropdown menu option.

3-Select that receipt and click "Done"

4-Then, at the right of POS, click in OK (tick) button.

5-Now, at the left of the POS, in the receipt that is going to be paid, click black 'X' button.
Check Total Amount and OK (tick) buttons are now useless. Besides, there are incorrect results shown.
No tags attached.
png PayOpenTicketClosed.png (218,043) 2015-04-17 14:15
https://issues.openbravo.com/file_download.php?file_id=7999&type=bug
png

? issue29627.mp4 (1,558,509) 2016-03-31 13:42
https://issues.openbravo.com/file_download.php?file_id=9230&type=bug
Issue History
2015-04-17 14:15lorenzofidalgoNew Issue
2015-04-17 14:15lorenzofidalgoAssigned To => Retail
2015-04-17 14:15lorenzofidalgoFile Added: PayOpenTicketClosed.png
2015-04-17 14:15lorenzofidalgoTriggers an Emergency Pack => No
2015-04-17 14:19lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=8297#r8297
2016-03-31 13:38jorge-garciaStatusnew => acknowledged
2016-03-31 13:42jorge-garciaFile Added: issue29627.mp4
2016-04-01 12:27jorge-garciaStatusacknowledged => scheduled
2016-04-01 12:27jorge-garciaAssigned ToRetail => jorge-garcia
2016-04-11 08:49hgbotCheckin
2016-04-11 08:49hgbotNote Added: 0085545
2016-04-11 08:49hgbotStatusscheduled => resolved
2016-04-11 08:49hgbotResolutionopen => fixed
2016-04-11 08:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c7db91ec32ccdbaa7359862e60bde5dc8e7a97c3 [^]
2016-04-11 08:49hgbotCheckin
2016-04-11 08:49hgbotNote Added: 0085546
2016-04-20 13:04migueldejuanaNote Added: 0085777
2016-04-20 13:04migueldejuanaReview Assigned To => migueldejuana
2016-04-20 13:04migueldejuanaStatusresolved => closed

Notes
(0085545)
hgbot   
2016-04-11 08:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c7db91ec32ccdbaa7359862e60bde5dc8e7a97c3
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Apr 01 09:56:57 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c7db91ec32ccdbaa7359862e60bde5dc8e7a97c3 [^]

Fixed issue 29627: Wrong messages are shown in POS and some buttons get
blocked following certain steps with "Pay Open Tickets" feature

Three scenerios has been analyzed:
1) If there is more than one order in the multiorder, the flow works as before.
2) If there only one order left and there is no payment associated, the
multiorder is reset and the POS exists from the multiorder and navigates
to the pointofsale window.
3) If there is only one order left and there is at least one payment, a popup is
shown indicating that the payments will be deleted. There is two scenarios:
  3.1) If the user clicks on “Ok” button, the multiorder is reset and the POS
  exists from the multiorder and navigates to the pointofsale window..
  3.2) If the user clicks on “Cancel” button, the multiorder doesn't change.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0085546)
hgbot   
2016-04-11 08:49   
Repository: tools/automation/pi-mobile
Changeset: 84c23a9cb32ae8e8aae635dd7ad058f4fa21467f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Apr 11 08:47:54 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/84c23a9cb32ae8e8aae635dd7ad058f4fa21467f [^]

Verifies issue 29627: Wrong messages are shown in POS and some buttons get
blocked following certain steps with "Pay Open Tickets" feature

Added test:
* I29627_MultiOrderPopupI
* I29627_MultiOrderPopupII
* I29627_MultiOrderPopupIII

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/quarantine/pack/JGA/sales/I29627_MultiOrderPopupI.java
A src-test/org/openbravo/test/mobile/quarantine/pack/JGA/sales/I29627_MultiOrderPopupII.java
A src-test/org/openbravo/test/mobile/quarantine/pack/JGA/sales/I29627_MultiOrderPopupIII.java
---
(0085777)
migueldejuana   
2016-04-20 13:04   
Tested and reviewed