Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024646Retail ModulesWeb POSpublic2013-09-02 09:292013-09-05 14:12
sureshbabu 
marvintm 
lowtrivialalways
closedfixed 
5
 
RMP26.1 
marvintm
No
0024646: RMP26.1: In webpos precision issue in Discount amount calculation.
Precision issue while calculating discount percentage expected is 2.65 but actual discount amount appear in the system is 2.64

Note:price list inclusive of taxes is used. and disc_fixed_5_perc is used.
1) create a receipt from webpos using below details
product First aid kit qty: 1 price: 52.90

2) Then apply fixed discount : Disc_fixed_5_perc

check the discount amount

Defect: Precision issue in Discount amount
Expected discount amount is 2.65 whereas in the system it shows
Actual discount amount is 2.64
No tags attached.
png Precision issue while calculating discount percentage expected is 2.65 but actual discount amount appear in the system is 2.64.png (199,732) 2013-09-02 09:29
https://issues.openbravo.com/file_download.php?file_id=6370&type=bug
png
Issue History
2013-09-02 09:29sureshbabuNew Issue
2013-09-02 09:29sureshbabuAssigned To => marvintm
2013-09-02 09:29sureshbabuFile Added: Precision issue while calculating discount percentage expected is 2.65 but actual discount amount appear in the system is 2.64.png
2013-09-02 09:29sureshbabuTriggers an Emergency Pack => No
2013-09-02 16:25hgbotCheckin
2013-09-02 16:25hgbotNote Added: 0060867
2013-09-02 16:25hgbotStatusnew => resolved
2013-09-02 16:25hgbotResolutionopen => fixed
2013-09-02 16:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/d3d9aeb381a4a6fd6c15961fbaf4a0f10db9a7bd [^]
2013-09-03 16:51marvintmReview Assigned To => marvintm
2013-09-03 16:51marvintmStatusresolved => closed
2013-09-03 16:51marvintmFixed in Version => RMP26.1
2013-09-05 14:11hgbotCheckin
2013-09-05 14:11hgbotNote Added: 0060931
2013-09-05 14:11hgbotStatusclosed => resolved
2013-09-05 14:11hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/d3d9aeb381a4a6fd6c15961fbaf4a0f10db9a7bd [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/f527f628d680f6385444ea4cd270cdcad43c6e72 [^]
2013-09-05 14:12priyamNote Added: 0060932
2013-09-05 14:12priyamStatusresolved => closed

Notes
(0060867)
hgbot   
2013-09-02 16:25   
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: d3d9aeb381a4a6fd6c15961fbaf4a0f10db9a7bd
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Sep 02 16:24:40 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/d3d9aeb381a4a6fd6c15961fbaf4a0f10db9a7bd [^]

fixed issue 24646: A problem with precision when manual discounts are used has been resolved

---
M web/org.openbravo.retail.discounts/js/promotion-manual.js
---
(0060931)
hgbot   
2013-09-05 14:11   
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: f527f628d680f6385444ea4cd270cdcad43c6e72
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Sep 02 16:24:40 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/f527f628d680f6385444ea4cd270cdcad43c6e72 [^]

fixed issue 24646: A problem with precision when manual discounts are used has been resolved

---
M web/org.openbravo.retail.discounts/js/promotion-manual.js
---
(0060932)
priyam   
2013-09-05 14:12   
closing as status changed by RMP26.1 merge process