Openbravo Issue Tracking System - Retail Modules
View Issue Details
0023440Retail ModulesWeb POSpublic2013-04-01 19:292013-04-25 12:52
0023440: system wrongly allows the POS user to Pay the entire layaway order amount even though the customer not paid the entire amount
In a Layaway order when the customer void the order, system wrongly allows the POS user to Pay the entire layaway order amount even though the customer not paid the entire receipt amount.
Step 1: In WebPOS, Create Layaway order using below details

    Alpine skiing backpack 27 L Qty 1

    Baby carrier Qty: 1

    Total receipt amount is 266.69

Step 2) Then make payments using below details

    Card : 8.00

    Cash_USD: 5.00

then close the Layaway order

3) Then reopen the above created layaway order, and check the payment details

    Card DD-MM-YYYY 8.00

    Cash_USD DD-MM-YYYY 5.00

4) Then click the total amount,and then at the right hand side of the webpos click the Tick icon

    Exact amount paid. text appears along with text

    Cash_EUR 253.69

4) Now again check the payment breakdown details

    Card DD-MM-YYYY 8.00

    Cash_USD DD-MM-YYYY 5.00

    Cash_EUR DD-MM-YYYY 253.56

5) Now instead of clicking the Done button, click the “Void this Layaway” option

Defect: one can see 266.69 € remaining to return. text wrongly appears instead of 13.00 € remaining to return. Then click Tick button and click Done button to Void the Layaway Receipt

After voiding the Layaway order successfully, now move back to Backend system and open the above created sales order and navigate to Payment details tab, one can find the details as below

Payment method Amount

    Wire Transfer 8.00

    Cash_USD 5.00

    Cash_EUR -253.56

here actually we received only 13 euros but we returned 253.56 euros,without any warning.

Note: we need to fine tune the workflow, to avoid this scenario.

(Note: FYI.. Used multi currency terminal with price list not inclusive of taxes.)
No tags attached.
Issue History
2013-04-01 19:29sureshbabuNew Issue
2013-04-01 19:29sureshbabuAssigned To => marvintm
2013-04-17 12:36hgbotCheckin
2013-04-17 12:36hgbotNote Added: 0057988
2013-04-17 12:36hgbotStatusnew => resolved
2013-04-17 12:36hgbotResolutionopen => fixed
2013-04-17 12:36hgbotFixed in SCM revision => [^]
2013-04-17 13:18hgbotCheckin
2013-04-17 13:18hgbotNote Added: 0057993
2013-04-25 12:52migueldejuanaReview Assigned To => migueldejuana
2013-04-25 12:52migueldejuanaNote Added: 0058245
2013-04-25 12:52migueldejuanaStatusresolved => closed
2013-04-25 12:52migueldejuanaFixed in Version => RMP22

2013-04-17 12:36   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f2a244a72e7e3aec7ded3fb32dc02e92e4a0f314
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at>>
Date: Wed Apr 17 12:35:47 2013 +0200
URL: [^]

fixed issue 23440: A layaway cannot be voided if not processed payments exists

M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/components/menu.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
2013-04-17 13:18   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 381534e26f647c09bdc261a0f7924a1ad1aa35f6
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at>>
Date: Wed Apr 17 13:17:00 2013 +0200
URL: [^]

related to issue 23440. Improve the message of the popup

M src-db/database/sourcedata/AD_MESSAGE.xml
2013-04-25 12:52   
Tested and reviewed in RMP22