Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037021Retail ModulesWeb POSpublic2017-10-06 12:372018-01-22 20:57
avicente 
jorge-garcia 
highmajoralways
closedfixed 
5
 
RR18Q1 
migueldejuana
No
0037021: [SER QA 3352] Wrong amount in pay open ticket when user click Supr key
Wrong amount in pay open ticket when user clicks on the supr key. It is needed to set POS Terminal Type || Use External Input = Yes.
1. In backend, for the pos terminal type VBS POS Terminal Type, set POS Terminal Type || Use External Input = Yes.
2. Log into https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]
3. Add a product into a ticket.
4. Create a new ticket and add a product.
5. In the menu select the option Pay Open Ticket.
6. Search the two created tickets, select them and click done button.
7. Once the pay open ticket panel is open, in the keyboard, click the button Supr.
ERROR: The amount of one of the tickets is 0, however the amount in the right panel is not updated.

See video https://drive.google.com/file/d/0BzvGPDyh8Nh4VXBiMkZMdlhjQTg/view [^]
SER-QA
Issue History
2017-10-06 12:37avicenteNew Issue
2017-10-06 12:37avicenteAssigned To => Retail
2017-10-06 12:37avicenteResolution time => 1508536800
2017-10-06 12:37avicenteTriggers an Emergency Pack => No
2017-10-06 12:37avicenteTag Attached: SER-QA
2017-10-11 17:02jorge-garciaStatusnew => scheduled
2017-10-11 17:02jorge-garciaAssigned ToRetail => jorge-garcia
2017-10-16 17:49hgbotCheckin
2017-10-16 17:49hgbotNote Added: 0099920
2017-10-16 17:49hgbotStatusscheduled => resolved
2017-10-16 17:49hgbotResolutionopen => fixed
2017-10-16 17:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/679d0f8317103796caed655b072553e40acf1277 [^]
2017-10-23 15:54migueldejuanaReview Assigned To => migueldejuana
2017-10-23 15:54migueldejuanaNote Added: 0100003
2017-10-23 15:54migueldejuanaStatusresolved => closed
2017-10-23 15:54migueldejuanaFixed in Version => RR18Q1
2017-11-15 16:06hgbotCheckin
2017-11-15 16:06hgbotNote Added: 0100532
2017-11-30 15:25hgbotCheckin
2017-11-30 15:25hgbotNote Added: 0100838
2018-01-22 20:57hgbotCheckin
2018-01-22 20:57hgbotNote Added: 0101867

Notes
(0099920)
hgbot   
2017-10-16 17:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 679d0f8317103796caed655b072553e40acf1277
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Oct 16 13:22:08 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/679d0f8317103796caed655b072553e40acf1277 [^]

Fixed issue 37021: [SER QA 3352] Wrong amount in pay open ticket when user
click Supr key

It does not make sense to allow to delete line from pay open tickets window.
The solution is to skip the execution of the command if the webPOS is in
multiOrders window.

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboardorder.js
---
(0100003)
migueldejuana   
2017-10-23 15:54   
Tested and reviewed
(0100532)
hgbot   
2017-11-15 16:06   
Repository: tools/automation/pi-mobile
Changeset: 81269dfdc3019d09770c0f0f0570e5863d2179d5
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Wed Nov 15 10:06:31 2017 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/81269dfdc3019d09770c0f0f0570e5863d2179d5 [^]

Verifies issue 37021: Wrong amount in pay open ticket when user click Supr key

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I37021_VerifyWrongAmountWhenSuprKey.java
---
(0100838)
hgbot   
2017-11-30 15:25   
Repository: tools/automation/pi-mobile
Changeset: 44a7f96ec167d58da72d62119f2a9cf334c456ed
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Wed Nov 29 09:19:18 2017 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/44a7f96ec167d58da72d62119f2a9cf334c456ed [^]

Related to test for issue 37021: Changes in backend are now made before login into
the application, so the correct values are loaded at the beginning of the test.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I37021_VerifyWrongAmountWhenSuprKey.java
---
(0101867)
hgbot   
2018-01-22 20:57   
Repository: tools/automation/pi-mobile
Changeset: 6044b7ce3b9ef244c9b66372c06c39bc6d78cf03
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Jan 16 08:33:50 2018 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6044b7ce3b9ef244c9b66372c06c39bc6d78cf03 [^]

Test refactor for issue 37021: Changes in database are made in beforeWithReload
and afterWithReload classes. Added some comments to describe the test flow.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I37021_VerifyWrongAmountWhenSuprKey.java
---