Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039295Retail ModulesWeb POSpublic2018-09-14 14:382018-09-28 08:51
joniturralde93 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
pi 
RR18Q4 
marvintm
No
0039295: If a payment is reverted and then an overpayment is done, there are problems.
If you open a normal, already paid ticket in POS, then revert the payment and do an overpayment (with card, for example), there are inconsistencies in the backoffice (attached screenshot):
It appears a negative amount equal to the overpayment, and not to the previous normal payment, as it should be.

In the screenshot, I paid a ticket for 150.50, reverted it (-150.50) and overpaid 200, but in backoffice it detected -200 for the reverted payment.
1. Log into POS Terminal
2. Complete a normal ticket with exact amount (with cash)
3. Open the paid ticket again and revert the payment.
4. Do an overpayment with card and complete the ticket.
5. Check into backoffice Sales Order window, Payment plan -> Payment Details for that order.
6. Incorrect Payments.
No tags attached.
png OverpaymentBug.png (96,504) 2018-09-14 14:38
https://issues.openbravo.com/file_download.php?file_id=12142&type=bug
png
Issue History
2018-09-14 14:38joniturralde93New Issue
2018-09-14 14:38joniturralde93Assigned To => Retail
2018-09-14 14:38joniturralde93File Added: OverpaymentBug.png
2018-09-14 14:38joniturralde93Resolution time => 1538690400
2018-09-14 14:38joniturralde93Triggers an Emergency Pack => No
2018-09-17 13:39ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-09-17 13:39ranjith_qualiantech_comStatusnew => scheduled
2018-09-20 13:59hgbotCheckin
2018-09-20 13:59hgbotNote Added: 0106886
2018-09-20 13:59hgbotStatusscheduled => resolved
2018-09-20 13:59hgbotResolutionopen => fixed
2018-09-20 13:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/33b1c59a68ac18599a056cadced3c7e93d385cf1 [^]
2018-09-20 13:59hgbotCheckin
2018-09-20 13:59hgbotNote Added: 0106887
2018-09-28 08:51marvintmReview Assigned To => marvintm
2018-09-28 08:51marvintmStatusresolved => closed
2018-09-28 08:51marvintmFixed in Version => RR18Q4

Notes
(0106886)
hgbot   
2018-09-20 13:59   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 33b1c59a68ac18599a056cadced3c7e93d385cf1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 20 17:29:14 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/33b1c59a68ac18599a056cadced3c7e93d385cf1 [^]

Fixed issue 39295 : Overpayment should not be associated to Reverse payment

* When there is overpayment by Non-cash payment methods, it should not be reduced in the reverse payment

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0106887)
hgbot   
2018-09-20 13:59   
Repository: tools/automation/pi-mobile
Changeset: ad07ce3cd2f8919e01291d68047317c8fb70ae9e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 20 17:29:25 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ad07ce3cd2f8919e01291d68047317c8fb70ae9e [^]

Verifies issue 39295 : Added Test 'I39295_VerifyOverpaymentWithReversePayment'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I39295_VerifyOverpaymentWithReversePayment.java
---