Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024660 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts and Promotions | minor | always | 2013-09-02 13:22 | 2014-03-14 10:53 | |||
Reporter | sureshbabu | View Status | public | |||||
Assigned To | guilleaer | |||||||
Priority | low | Resolution | fixed | Fixed in Version | RMP26.1 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0024660: RMP26.1: Precision issue in Price list not inclusive of taxes when applying receipt discount Disc_fixed_5_Perc is applied | |||||||
Description | Precision issue in Price list not inclusive of taxes when applying receipt discount Disc_fixed_5_Perc is applied | |||||||
Steps To Reproduce | 1) create a receipt with below details Product: Base camp Lantern Qty:1 Product: Torch Mini Qty:1 2) Then apply Receipt discounts "Disc_fixed_5_Perc" 3) Check the discount amount(precision issue) in both the line items Defect: For line 1, Product: Base camp Lantern actual Discount amount is 2.77 where as the expected one is 2.78 For line 2, Product: Torch Mini actual Discount amount is 0.67 where as the expected one is 0.68 Taxable amount shown as 65.56 but the expected taxable amount is 65.54 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0060885) guilleaer (viewer) 2013-09-03 10:34 |
https://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/d3d9aeb381a4a6fd6c15961fbaf4a0f10db9a7bd [^] |
(0065153) sureshbabu (viewer) 2014-03-14 07:57 |
@Guilleaer: Not sure what is the expected result here..because i am finding the same behavior here. |
(0065159) guilleaer (viewer) 2014-03-14 10:53 |
It is working fine. ---------- line 1: price: 55.5 disc: 5% 55.5 * 0.95 = 52.725 -> round -> 52.73 55.5 - 52.73 = 2.77 -> Fine! --------------- line 2: price: 13.5 disc: 5% 13.5 * 0.95 = 12.825 -> round -> 12.83 13.5 - 12.83 = 0.67 -> fine! --------------- Taxable amount is fine -> (55.5 - 2.77) + (13.5 - 0.67) = 65.56 |
![]() |
|||
Date Modified | Username | Field | Change |
2013-09-02 13:22 | sureshbabu | New Issue | |
2013-09-02 13:22 | sureshbabu | Assigned To | => marvintm |
2013-09-02 13:22 | sureshbabu | File Added: Precision issue in Price list not inclusive of taxes when applying receipt discount Disc_fixed_5_Perc is applied.png | |
2013-09-02 13:22 | sureshbabu | OBNetwork customer | => No |
2013-09-02 13:22 | sureshbabu | Triggers an Emergency Pack | => No |
2013-09-03 10:33 | guilleaer | Assigned To | marvintm => guilleaer |
2013-09-03 10:33 | guilleaer | Status | new => scheduled |
2013-09-03 10:33 | guilleaer | fix_in_branch | => pi |
2013-09-03 10:34 | guilleaer | Note Added: 0060885 | |
2013-09-03 10:34 | guilleaer | Status | scheduled => resolved |
2013-09-03 10:34 | guilleaer | Fixed in Version | => RMP26.1 |
2013-09-03 10:34 | guilleaer | Resolution | open => fixed |
2013-09-03 17:07 | marvintm | Review Assigned To | => marvintm |
2013-09-03 17:07 | marvintm | Status | resolved => closed |
2014-03-14 07:57 | sureshbabu | Note Added: 0065153 | |
2014-03-14 10:53 | guilleaer | Note Added: 0065159 |
Copyright © 2000 - 2009 MantisBT Group |