Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027054Retail ModulesWeb POSpublic2014-07-11 15:232015-01-19 17:40
plujan 
Osmany 
normalmajorhave not tried
closedfixed 
5
 
pi 
Orekaria
No
0027054: [RR14Q3] Switching to keypad instead of bank notes does not work for Euros
When paying cash, if I switch to standard keyboard using the bottom left button it keeps in Dollar.

It is true that there are several workarounds to do the same, but this flow is confusing enough to be perceived as a defect.
1. Create a new ticket and click the amount to pay it. Note that Cash button is marked and Euro bank notes are shown instead of keypad.
2. I want to use the keypad, so I click the bottom left button to change first to Dollar and then to the keypad. Note that USA Cash button is marked and Dollar bank notes are shown.
3. Click the bottom left button once again. Now the keypad is shown, but USA Cash is still marked.
4. Click a number in the keypad and click the bottom right button to enter the value. It is entered as Dollar.
5. Click the button Cash again to select it back (since I want to enter Euros). The button is marked but the keypad is replaced with Euro bank notes.
6. Click again the Cash button. The button is unmarked and the keypad is back.
7. Repeat step 4. A warning message about UPC not found is shown.
No tags attached.
Issue History
2014-07-11 15:23plujanNew Issue
2014-07-11 15:23plujanAssigned To => marvintm
2014-07-11 15:23plujanTriggers an Emergency Pack => No
2014-07-14 14:19plujanSummarySwitching to keypad instead of bank notes does not work for Euros => [RR14Q3] Switching to keypad instead of bank notes does not work for Euros
2015-01-08 15:35OsmanyAssigned Tomarvintm => Osmany
2015-01-08 15:35hgbotCheckin
2015-01-08 15:35hgbotNote Added: 0073366
2015-01-08 15:35hgbotStatusnew => resolved
2015-01-08 15:35hgbotResolutionopen => fixed
2015-01-08 15:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a8ee13d131cb7550804b8b0aec3b12b1e0439cbb [^]
2015-01-13 15:30hgbotCheckin
2015-01-13 15:30hgbotNote Added: 0073462
2015-01-13 15:30hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a8ee13d131cb7550804b8b0aec3b12b1e0439cbb [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6cc66ad22994e3ed8242619f8fe61773deed4076 [^]
2015-01-15 19:40OrekariaNote Added: 0073559
2015-01-19 13:36OrekariaReview Assigned To => Orekaria
2015-01-19 13:36OrekariaStatusresolved => closed
2015-01-19 13:36OrekariaFixed in Version => pi
2015-01-19 17:40hgbotCheckin
2015-01-19 17:40hgbotNote Added: 0073617

Notes
(0073366)
hgbot   
2015-01-08 15:35   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a8ee13d131cb7550804b8b0aec3b12b1e0439cbb
Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com>
Date: Thu Jan 08 08:34:08 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a8ee13d131cb7550804b8b0aec3b12b1e0439cbb [^]

Fixed issue 27054: Switching to keypad instead of bank notes does not work for Euros

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
---
(0073462)
hgbot   
2015-01-13 15:30   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 6cc66ad22994e3ed8242619f8fe61773deed4076
Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com>
Date: Tue Jan 13 08:29:44 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6cc66ad22994e3ed8242619f8fe61773deed4076 [^]

Fixed issue 27054: Switching to keypad instead of bank notes does not work for Euros.

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
---
(0073559)
Orekaria   
2015-01-15 19:40   
Expected keypad behavior:

. the first time (when payment type "eur" is selected and bank notes are displayed in keypad) then the option "change to number eur" will be displayed in the button
. if the button is clicked -> then the keypad will change to numeric eur, and the dollar option will be displayed in the button
. if the button is clicked -> then the keypad will change to dollar bank notes, and the numeric dollar option will be displayed in the button
. if the button is clicked -> then the keypad will change to dollar numeric, and the eur option will be displayed in the button
. if the button is clicked -> then the keypad will change to eur bank notes, and the numeric eur option will be displayed in the button...
.etc
(0073617)
hgbot   
2015-01-19 17:40   
Repository: tools/automation/pi-mobile
Changeset: 970193c59bd8ff562e54dcc41bfa2b4209f27e20
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Jan 19 15:04:57 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/970193c59bd8ff562e54dcc41bfa2b4209f27e20 [^]

Related to issue 27054: Added 2 new tests to verify expected behavior
- Keypad_PaymentMethodsEnableState
- Keypad_PaymentSwitchingButton

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/SystemSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/Keypad_PaymentMethodsEnableState.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/Keypad_PaymentSwitchingButton.java
---