Openbravo Issue Tracking System - Retail Modules
View Issue Details
0021272Retail ModulesWeb POSpublic2012-07-31 17:592015-01-30 09:33
marvintm 
migueldejuana 
normalmajorhave not tried
closedfixed 
5
 
RR15Q1 
malsasua
No
0021272: When there is overpayment, the POS is not creating the payments correctly
When a Sales Order has been overpaid, the POS is not creating its payments correctly. It should create payment schedule details whose sum is the gross amount of the order, and an additional payment schedule detail with the additional payment, and currently it is not taking this rule into account.
Create an overpaid order, for example, paying it with credit card, or vouchers (that is, not with cash).
No tags attached.
blocks defect 0028770 closed migueldejuana To do an overpayment using card payment method is not working properly 
png ReceivedAmount.png (38,721) 2015-01-16 14:25
https://issues.openbravo.com/file_download.php?file_id=7698&type=bug
png

png PaymentIn.png (53,180) 2015-01-16 14:26
https://issues.openbravo.com/file_download.php?file_id=7699&type=bug
png

png PaymentIn2.png (56,449) 2015-01-16 14:26
https://issues.openbravo.com/file_download.php?file_id=7700&type=bug
png
Issue History
2012-07-31 17:59marvintmNew Issue
2012-07-31 17:59marvintmAssigned To => marvintm
2012-07-31 17:59hgbotCheckin
2012-07-31 17:59hgbotNote Added: 0051043
2012-07-31 17:59hgbotStatusnew => resolved
2012-07-31 17:59hgbotResolutionopen => fixed
2012-07-31 17:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-main/rev/eaf723fa74d3fbdb74d23c39c57d7ba578ca1759 [^]
2012-07-31 18:01hgbotCheckin
2012-07-31 18:01hgbotNote Added: 0051044
2012-07-31 18:01hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-main/rev/eaf723fa74d3fbdb74d23c39c57d7ba578ca1759 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eaf723fa74d3fbdb74d23c39c57d7ba578ca1759 [^]
2012-09-25 13:09adrianromeroStatusresolved => closed
2015-01-16 14:25plujanFile Added: ReceivedAmount.png
2015-01-16 14:26plujanFile Added: PaymentIn.png
2015-01-16 14:26plujanFile Added: PaymentIn2.png
2015-01-16 14:30plujanNote Added: 0073575
2015-01-16 14:30plujanStatusclosed => new
2015-01-16 14:30plujanResolutionfixed => open
2015-01-22 09:46hgbotCheckin
2015-01-22 09:46hgbotNote Added: 0073711
2015-01-22 09:46hgbotStatusnew => resolved
2015-01-22 09:46hgbotResolutionopen => fixed
2015-01-22 09:46hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eaf723fa74d3fbdb74d23c39c57d7ba578ca1759 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ce7c403c760888059caf549335ce4ccd7657f8b5 [^]
2015-01-22 09:46migueldejuanaAssigned Tomarvintm => migueldejuana
2015-01-22 12:58hgbotCheckin
2015-01-22 12:58hgbotNote Added: 0073718
2015-01-22 12:58hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ce7c403c760888059caf549335ce4ccd7657f8b5 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d7f0612aae920f4ebcfee924e267beb600352a39 [^]
2015-01-30 08:41hgbotCheckin
2015-01-30 08:41hgbotNote Added: 0073925
2015-01-30 08:41hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d7f0612aae920f4ebcfee924e267beb600352a39 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e4199502a5d80f700653ec64fd0137eb3937dba6 [^]
2015-01-30 08:43migueldejuanaRelationship addedblocks 0028770
2015-01-30 09:33malsasuaReview Assigned To => malsasua
2015-01-30 09:33malsasuaNote Added: 0073928
2015-01-30 09:33malsasuaStatusresolved => closed
2015-01-30 09:33malsasuaFixed in Version => RR15Q1

Notes
(0051043)
hgbot   
2012-07-31 17:59   
Repository: erp/pmods/org.openbravo.retail.posterminal-main
Changeset: eaf723fa74d3fbdb74d23c39c57d7ba578ca1759
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Jul 31 17:59:27 2012 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-main/rev/eaf723fa74d3fbdb74d23c39c57d7ba578ca1759 [^]

Fixed issue 21272. Overpayments will be handled correctly

---
M src-db/database/model/tables/OBPOS_APP_PAYMENT_TYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0051044)
hgbot   
2012-07-31 18:01   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: eaf723fa74d3fbdb74d23c39c57d7ba578ca1759
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Jul 31 17:59:27 2012 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eaf723fa74d3fbdb74d23c39c57d7ba578ca1759 [^]

Fixed issue 21272. Overpayments will be handled correctly

---
M src-db/database/model/tables/OBPOS_APP_PAYMENT_TYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0073575)
plujan   
2015-01-16 14:30   
While testing overpayment in RR15Q1 I got wrong data on the Payment Plan tab.

Steps to reproduce:
1. Create in WebPOS a receipt for 5 items of Alpine Backpack
2. Go to Payment section, choose 2000 from Voucher and 1339 for Credit Card
3. Finish the operation, you will be warned about the overpayment, which is correct.
4. Go to the Backend and check the Payment Details on the Sales Order (first attached screenshot)
5. Go to Payment In window and check the two created Payments (2nd and 3rd attachments)
(0073711)
hgbot   
2015-01-22 09:46   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ce7c403c760888059caf549335ce4ccd7657f8b5
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jan 22 09:45:44 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ce7c403c760888059caf549335ce4ccd7657f8b5 [^]

Fixed issue 0021272: When there is overpayment, the POS is not creating the payments correctly
When there are more than payment with overpayment we cannot assign the whole overpayment to the last payment. We need to share the overpayment.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0073718)
hgbot   
2015-01-22 12:58   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d7f0612aae920f4ebcfee924e267beb600352a39
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jan 22 12:57:47 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d7f0612aae920f4ebcfee924e267beb600352a39 [^]

Fixed issue 0021272: When there is overpayment, the POS is not creating the payments correctly
When there are more than payment with overpayment we cannot assign the whole overpayment to the last payment. We need to share the overpayment.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0073925)
hgbot   
2015-01-30 08:41   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e4199502a5d80f700653ec64fd0137eb3937dba6
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Jan 30 08:41:31 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e4199502a5d80f700653ec64fd0137eb3937dba6 [^]

Fixed issue 0021272: When there is overpayment, the POS is not creating the payments correctly

Take into account overpayments returning an order.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0073928)
malsasua   
2015-01-30 09:33   
verified