Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029438Retail ModulesWeb POSpublic2015-03-27 10:552015-04-13 17:29
marvintm 
aaroncalero 
urgentminoralways
closedfixed 
5
 
RR15Q1.3RR15Q1.3 
adrianromero
Production - Confirmed Stable
No
0029438: Default payment method is not correctly selected in the keyboard
In the Web POS, in the POS Terminal Type window you can select which payment method will be set by default when the user pays. If no payment method is picked, a payment method is automatically selected according to some rules.

The payment method is correctly set in the Web POS, so if a payment is done without explicitly selecting a payment method then the default one is used. However, this default payment method is not used to select a payment method button in the keyboard.

This means that when you go to pay in the Web POS, the keyboard doesn't change. So for example, if the payment method is of type cash, you don't see the coins buttons automatically shown, and you need to manually select the button for them to appear.
- Log in the Web POS.
- Create a ticket with one line.
- Click on the total button.
- Pay the ticket with the "Pay all" button. Realize that a payment of cash is created (this is correct, it means that a default payment method was picked).
- Realize that the keyboard doesn't display any coins, even though the selected payment method is of type cash. Realize also that the button for this payment method is not "green".
Approved
blocks defect 0029437RR15Q3 closed aaroncalero Default payment method is not correctly selected in the keyboard 
Issue History
2015-03-27 11:12marvintmTypedefect => backport
2015-03-27 11:12marvintmTarget VersionRR15Q2 => RR15Q1.3
2015-03-27 13:53dmitry_mezentsevTag Attached: Approved
2015-04-13 11:44OrekariaNote Added: 0076464
2015-04-13 11:44OrekariaStatusscheduled => resolved
2015-04-13 11:44OrekariaFixed in Version => RR15Q1.3
2015-04-13 11:44OrekariaResolutionopen => fixed
2015-04-13 17:29adrianromeroReview Assigned To => adrianromero
2015-04-13 17:29adrianromeroNote Added: 0076495
2015-04-13 17:29adrianromeroStatusresolved => closed

Notes
(0076464)
Orekaria   
2015-04-13 11:44   
Repository: retail/backports/3.0RR15Q1.3/org.openbravo.mobile.core
Changeset: a18f410a9b54fd962faa7b71c9bcd17d21c16e30
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Tue Mar 31 10:50:33 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q1.3/org.openbravo.mobile.core/rev/a18f410a9b54fd962faa7b71c9bcd17d21c16e30 [^] [^]

Fixed issue 29437: Default payment method is not correctly selected in the keyboard

The problem was that the function used to clear the input area of the keyboard after tapping the total amount button was setting the status of the keyboard as empty. This was causing the default payment method to be deselected.
Now a new function has been created to clear the input area of the keyboard without modifying its status.

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
---
(0076495)
adrianromero   
2015-04-13 17:29   
Reviewed