Openbravo Issue Tracking System - Retail Modules
View Issue Details
0023261Retail ModulesWeb POSpublic2013-03-07 17:502013-04-03 12:55
sureshbabu 
migueldejuana 
highmajoralways
closedfixed 
5
 
RMP21RMP21 
marvintm
No
0023261: when i void a layaway order, Discounts and promotions still shows Total discount amount instead of zero
when i void a layaway order, Discounts and promotions still shows Total discount amount instead of zero
1) Using Price list not inclusive of taxes, i have created a Layaway order, with product which is assigned with Flat 10% discount.

Product: Alpine skiing backpack 27 L
Quantity: 5
Unit Price: 109.90
Total line amount: 549.50
Discount(Fixed 10%): -54.95
Tax: 103.86
Total Gross Amount: 598.41
Tax Breakdown

Tax percentage: Entregas IVA 21%
Taxable Amount: 494.55
Total Tax amount: 103.86

2) Then void the above created Layaway order

3) Then navigate to back end system(ERP) then open above respective sales order

then move to Discounts and promotions tab, one can find

Discount per unit:10.99
Total amount:54.95

Total amount still shows original value.

Note: Even though the line item qty changes to zero, and also total amount rightly changes to Zero.
No tags attached.
png When i void the Layaway order, Discounts nad Promotions tab still shows Total discount amount, whereas remaining all tabs shows zero amount.png (217,590) 2013-03-07 17:50
https://issues.openbravo.com/file_download.php?file_id=6021&type=bug
png
Issue History
2013-03-07 17:50sureshbabuNew Issue
2013-03-07 17:50sureshbabuAssigned To => migueldejuana
2013-03-07 17:50sureshbabuFile Added: When i void the Layaway order, Discounts nad Promotions tab still shows Total discount amount, whereas remaining all tabs shows zero amount.png
2013-03-11 16:13hgbotCheckin
2013-03-11 16:13hgbotNote Added: 0057182
2013-03-11 16:13hgbotStatusnew => resolved
2013-03-11 16:13hgbotResolutionopen => fixed
2013-03-11 16:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3e8abdeab8ca5d8b1c106b74d0b84cf71ebf5439 [^]
2013-03-22 15:44marvintmReview Assigned To => marvintm
2013-03-22 15:44marvintmStatusresolved => closed
2013-03-22 15:44marvintmFixed in Version => RMP21
2013-04-02 20:11hgbotCheckin
2013-04-02 20:11hgbotNote Added: 0057677
2013-04-02 20:11hgbotStatusclosed => resolved
2013-04-02 20:11hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3e8abdeab8ca5d8b1c106b74d0b84cf71ebf5439 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-core/rev/3e8abdeab8ca5d8b1c106b74d0b84cf71ebf5439 [^]
2013-04-03 12:55marvintmStatusresolved => closed

Notes
(0057182)
hgbot   
2013-03-11 16:13   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3e8abdeab8ca5d8b1c106b74d0b84cf71ebf5439
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Mar 11 16:12:39 2013 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3e8abdeab8ca5d8b1c106b74d0b84cf71ebf5439 [^]

Fixed issue 23261: Voiding Layaway, clean discounts

---
M src/org/openbravo/retail/posterminal/ProcessVoidLayaway.java
---
(0057677)
hgbot   
2013-04-02 20:11   
Repository: erp/pmods/org.openbravo.retail.posterminal-core
Changeset: 3e8abdeab8ca5d8b1c106b74d0b84cf71ebf5439
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Mar 11 16:12:39 2013 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-core/rev/3e8abdeab8ca5d8b1c106b74d0b84cf71ebf5439 [^]

Fixed issue 23261: Voiding Layaway, clean discounts

---
M src/org/openbravo/retail/posterminal/ProcessVoidLayaway.java
---