Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031099Retail ModulesReturn Receiptpublic2015-10-08 13:052015-10-22 12:28
plujan 
guilleaer 
normalmajorhave not tried
closedfixed 
5
main 
RR16Q1 
marvintm
QA functional test
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/87802196069a [^]
No
0031099: [RR15Q4] Cannot return a receipt using card, a message says "there is not enough cash available"
Even with cash in the terminal, when I tried to return a ticket using Card payment method, I get a message "there is not enough cash available"
1. Login a vallblanca user
2. Check that you have available cash (by selling some tickets or by cash management deposit)
3. Create a ticket for one Headlamp ultralight (total 18.90)
4. Choose from top-left menu the option Return this receipt. Check that "To be returned" is shown in the ticket and that total amount changes to -18.90.
5. Click the amount to complete the return. It says "18.90€ pending to be returned"
6. Return 18.90€ in Cash. It works as expected and the Done button is available to continue the process.
7. Remove the added cash line
8. Return 18.90€ in Card. A message saying "there is not enough cash available" is shown and you cannot continue. See screenshot.
No tags attached.
depends on backport 0031141RR15Q4 closed marvintm [RR15Q4] Cannot return a receipt using card, a message says "there is not enough cash available" 
png ReturnWithCard.png (33,507) 2015-10-08 13:05
https://issues.openbravo.com/file_download.php?file_id=8537&type=bug
png
Issue History
2015-10-08 13:05plujanNew Issue
2015-10-08 13:05plujanAssigned To => Retail
2015-10-08 13:05plujanFile Added: ReturnWithCard.png
2015-10-08 13:05plujanRegression level => QA functional test
2015-10-08 13:05plujanTriggers an Emergency Pack => No
2015-10-08 13:05plujanversion => main
2015-10-08 13:14plujanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9639#r9639
2015-10-08 13:58OrekariaStatusnew => acknowledged
2015-10-08 16:28guilleaerAssigned ToRetail => guilleaer
2015-10-08 18:31OrekariaTarget Version => RR15Q4
2015-10-09 16:59guilleaerRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/87802196069a [^]
2015-10-13 14:08hgbotCheckin
2015-10-13 14:08hgbotNote Added: 0080978
2015-10-13 14:08hgbotStatusacknowledged => resolved
2015-10-13 14:08hgbotResolutionopen => fixed
2015-10-13 14:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a08adb56512c8dd9d2f59ceb0fdcfbeba01a523 [^]
2015-10-13 14:08hgbotCheckin
2015-10-13 14:08hgbotNote Added: 0080979
2015-10-13 17:49OrekariaStatusresolved => new
2015-10-13 17:49OrekariaResolutionfixed => open
2015-10-13 17:49OrekariaStatusnew => scheduled
2015-10-13 17:49OrekariaStatusscheduled => resolved
2015-10-13 17:49OrekariaFixed in Version => RR16Q1
2015-10-13 17:49OrekariaResolutionopen => fixed
2015-10-13 17:49OrekariaTarget VersionRR15Q4 =>
2015-10-16 11:02OrekariaReview Assigned To => Orekaria
2015-10-22 12:28marvintmReview Assigned ToOrekaria => marvintm
2015-10-22 12:28marvintmStatusresolved => closed

Notes
(0080978)
hgbot   
2015-10-13 14:08   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2a08adb56512c8dd9d2f59ceb0fdcfbeba01a523
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Oct 09 17:33:58 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a08adb56512c8dd9d2f59ceb0fdcfbeba01a523 [^]

fixed issue 31099: only check available cash for payment methods marked as cash

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0080979)
hgbot   
2015-10-13 14:08   
Repository: tools/automation/pi-mobile
Changeset: 798a7565574b3100ab7c52522fb8f05bb8b849b2
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Oct 13 12:05:07 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/798a7565574b3100ab7c52522fb8f05bb8b849b2 [^]

Related to issue 31099: Added test to ensure that a return can be performed using card

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I31099_ReturnWithCreditCard.java
---