Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033072Retail ModulesWeb POSpublic2016-05-30 09:422016-06-09 12:43
aaroncalero 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
 
marvintm
No
0033072: [SERQA 1165] Error message appears when we pay a regular ticket in cash
If a default payment method is configured for the POS Terminal Type, following specific steps it is possible to get the following error message when paying a ticket with cash:
"Only cash payment methods are allowed to return change."
Login in the backend, go to the POS Terminal window and open the VBS-1 record.
Navigate to the POS Terminal Type window from there.
Configure a default payment method (e.g. Cash) for that POS Terminal Type).

Log in in web pos (terminal:VBS-1), create an empty ticket and add a product (e.g. Avalanche Transceiver, total: 150.50€)
Click on the total amount to pay the ticket.
Select the Card payment method. Type 25 on the virtual keyboard and click on the Enter button.
>> A new payment of 25€(Card) has been added to the ticket. Additionally, the Card payment method has been unselected)
Type 200 on the Virtual keyboard and click on the enter button.
>> A new payment of 200€(Cash) has been added to the ticket.
Remove the 25€ Card payment.
>>Error: The "Only cash payment methods are allowed to return change." error appears but it should be possible to pay the ticket.
SER-QA
duplicate of defect 0032953 closed prakashmurugesan88 [SER QA 1037] Cannot pay a ticket if moving from card to cash 
Issue History
2016-05-30 09:42aaroncaleroNew Issue
2016-05-30 09:42aaroncaleroAssigned To => Retail
2016-05-30 09:42aaroncaleroResolution time => 1465768800
2016-05-30 09:42aaroncaleroTriggers an Emergency Pack => No
2016-05-30 09:42aaroncaleroTag Attached: SER-QA
2016-05-30 10:33OrekariaStatusnew => acknowledged
2016-05-30 13:06aaroncaleroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12260#r12260
2016-05-30 16:00ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-05-30 16:00ranjith_qualiantech_comStatusacknowledged => scheduled
2016-06-01 10:58adrianromeroRelationship addedduplicate of 0032953
2016-06-01 10:58adrianromeroStatusscheduled => closed
2016-06-01 10:58adrianromeroResolutionopen => duplicate
2016-06-01 13:43ranjith_qualiantech_comStatusclosed => new
2016-06-01 13:43ranjith_qualiantech_comResolutionduplicate => open
2016-06-01 13:56ranjith_qualiantech_comStatusnew => scheduled
2016-06-01 13:56ranjith_qualiantech_comNote Added: 0086895
2016-06-02 06:52hgbotCheckin
2016-06-02 06:52hgbotNote Added: 0086899
2016-06-02 06:52hgbotCheckin
2016-06-02 06:52hgbotNote Added: 0086900
2016-06-02 06:52hgbotStatusscheduled => resolved
2016-06-02 06:52hgbotResolutionopen => fixed
2016-06-02 06:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/93a76908c4912dc2f6f93010350900709cf01122 [^]
2016-06-09 12:43marvintmReview Assigned To => marvintm
2016-06-09 12:43marvintmStatusresolved => closed

Notes
(0086895)
ranjith_qualiantech_com   
2016-06-01 13:56   
It was wrongly closed
(0086899)
hgbot   
2016-06-02 06:52   
Repository: tools/automation/pi-mobile
Changeset: 27b5143cbe52dd66e4b99875d8183e1df1837c3f
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jun 02 10:20:06 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/27b5143cbe52dd66e4b99875d8183e1df1837c3f [^]

Verifies issue 33072 : Added automated test 'I33072_VerifyChangeByCashCardPayment'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I33072_VerifyChangeByCashCardPayment.java
---
(0086900)
hgbot   
2016-06-02 06:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 93a76908c4912dc2f6f93010350900709cf01122
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jun 02 10:21:26 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/93a76908c4912dc2f6f93010350900709cf01122 [^]

Fixes issue 33072 : Validating Payment method based on selected payment if payments are present

- Modified Condition, Validating payments based on added payment length
- onlycashpaymentmethod, noenoughchangelbl will be checked if single payment to receipt

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---