Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031985Retail ModulesWeb POSpublic2016-01-21 17:462016-03-16 19:20
plujan 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
main 
RR16Q2 
marvintm
QA functional test
No
0031985: [RR16Q1] Overpayment mixing cash and card is not possible
If I try to overpay a receipt using a combination of cash and card payments a message is shown: "Only cash payment methods are allowed to return change"

The message is not correct since I am actually using cash as part of the payment.
1. Login into webPOS and create a ticket for any given value, i.e. 132.98€
2. Click the total amount to pay it.
3. Select Cash as payment method and pay 100€
4. Select Card as payment method and pay 33€
5. There is 0.02 change but the ticket cannot be completed. A message is shown: Only cash payment methods are allowed to return change
No tags attached.
depends on backport 0031987RR16Q1 closed ranjith_qualiantech_com [RR16Q1] Overpayment mixing cash and card is not possible 
Issue History
2016-01-21 17:46plujanNew Issue
2016-01-21 17:46plujanAssigned To => Retail
2016-01-21 17:46plujanRegression level => QA functional test
2016-01-21 17:46plujanTriggers an Emergency Pack => No
2016-01-21 20:57guilleaerStatusnew => scheduled
2016-01-21 21:21guilleaerNote Added: 0083512
2016-01-22 12:13ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-01-27 17:16hgbotCheckin
2016-01-27 17:16hgbotNote Added: 0083638
2016-01-27 17:16hgbotStatusscheduled => resolved
2016-01-27 17:16hgbotResolutionopen => fixed
2016-01-27 17:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eec71d5dbd6b53f35a0fb7c689022c71c8b09cef [^]
2016-01-27 17:16hgbotCheckin
2016-01-27 17:16hgbotNote Added: 0083639
2016-01-27 17:21guilleaerNote Deleted: 0083512
2016-02-05 16:02marvintmReview Assigned To => marvintm
2016-02-05 16:02marvintmStatusresolved => closed
2016-02-05 16:02marvintmFixed in Version => RR16Q2
2016-03-03 13:51marvintmNote Added: 0084683
2016-03-03 13:51marvintmStatusclosed => new
2016-03-03 13:51marvintmResolutionfixed => open
2016-03-03 13:51marvintmFixed in VersionRR16Q2 =>
2016-03-03 13:51marvintmStatusnew => scheduled
2016-03-04 12:51hgbotCheckin
2016-03-04 12:51hgbotNote Added: 0084731
2016-03-04 12:51hgbotStatusscheduled => resolved
2016-03-04 12:51hgbotResolutionopen => fixed
2016-03-04 12:51hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eec71d5dbd6b53f35a0fb7c689022c71c8b09cef [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fff6b6f61cf3ae4a785a40e727407fc6dd96ee82 [^]
2016-03-04 12:51hgbotCheckin
2016-03-04 12:51hgbotNote Added: 0084732
2016-03-16 19:20marvintmStatusresolved => closed
2016-03-16 19:20marvintmFixed in Version => RR16Q2

Notes
(0083638)
hgbot   
2016-01-27 17:16   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: eec71d5dbd6b53f35a0fb7c689022c71c8b09cef
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jan 27 21:45:44 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eec71d5dbd6b53f35a0fb7c689022c71c8b09cef [^]

Fixes issue 31985 : Cash Change is allowed if both cash and card are involved in payment

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0083639)
hgbot   
2016-01-27 17:16   
Repository: tools/automation/pi-mobile
Changeset: cba9a674e0043579bd1ea29dc33c7664130cd85d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jan 27 21:45:03 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/cba9a674e0043579bd1ea29dc33c7664130cd85d [^]

Verifies issue 31985: Added automated test 'I31985_VerifyChangeByCashCardPayment'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31985_VerifyChangeByCashCardPayment.java
---
(0084683)
marvintm   
2016-03-03 13:51   
The basic case, in which there is enough cash available in the till, works correctly. However, there is one case in which I found a problem:

- Do a cashup, ensure that no cash remains in the till.
- Then, create a ticket with total 150
- Add a payment in cash for 100
- Add a payment in card, for 60.
- Verify that the Done button is disabled, but there is no error message explaining the problem.

My take is that in this case, the system is detecting that there is no way to return change as no money is in the till. However, if this is the case, there should be a red error message explaining the problem.

We are missing this error message explaining that there is no cash available in this case, and therefore the user could be confused.
(0084731)
hgbot   
2016-03-04 12:51   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fff6b6f61cf3ae4a785a40e727407fc6dd96ee82
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 04 17:21:22 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fff6b6f61cf3ae4a785a40e727407fc6dd96ee82 [^]

Fixes issue 31985 : Cash Change is allowed if both cash and card are involved in payment

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0084732)
hgbot   
2016-03-04 12:51   
Repository: tools/automation/pi-mobile
Changeset: c49bac709619ad419c2e9e509cd845b6de4a1ed3
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 04 17:20:18 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c49bac709619ad419c2e9e509cd845b6de4a1ed3 [^]

Verifies issue 31985: Modified automated test 'I31985_VerifyChangeByCashCardPayment'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31985_VerifyChangeByCashCardPayment.java
---