Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027239
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsminoralways2014-07-30 17:542014-09-15 14:10
ReporterjecharriView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in VersionRR14Q4
StatusclosedFix in branchFixed in SCM revisionc66aae44a903
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToOrekaria
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027239: When one applies two discounts in cascade the total is wrong

DescriptionWhen one applies two discounts in cascade the total is wrong
Steps To ReproduceConfigure 2 discounts which type is price adjustment
-The first one will be 10% discount and with check "apply next discount" checked and priority 0
-The second one will be 20% and min quantity 15
-Restrict the discounts to product "adhesive-body warmers"
-Go to Web POS and include 15 units of above product --> the product price must be 3.60

Verify that in the image that total is wrong
3.6+15=54
54*0.9=48,6
48,6+0.8= 38.88 <-- the problem is that it is applying 9.75 instead of 9.72 and it is showing 38.85
TagsNo tags attached.
Attached Filespng file icon discountsBug.png [^] (148,920 bytes) 2014-07-30 17:57

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0026916 closedmalsasua [DiS&Prom] Precision issue while calculating taxes (price list not inclusive of taxes) 

-  Notes
(0070035)
hgbot (developer)
2014-09-09 01:06

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c66aae44a9030e05eedcabda3f6c3817900a300d
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Tue Sep 09 01:05:41 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c66aae44a9030e05eedcabda3f6c3817900a300d [^]

Fixed issue 27239: Change the round mode to the end of the calculation

---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
---

- Issue History
Date Modified Username Field Change
2014-07-30 17:54 jecharri New Issue
2014-07-30 17:54 jecharri Assigned To => marvintm
2014-07-30 17:54 jecharri Triggers an Emergency Pack => No
2014-07-30 17:54 jecharri Resolution time => 1410300000
2014-07-30 17:54 jecharri Severity major => minor
2014-07-30 17:57 Orekaria File Added: discountsBug.png
2014-07-30 19:28 Orekaria Relationship added related to 0026916
2014-08-02 03:05 Orekaria Summary When you apply two discounts in cascade the total is wrong => When one applies two discounts in cascade the total is wrong
2014-08-02 03:05 Orekaria Description Updated View Revisions
2014-09-09 01:06 hgbot Checkin
2014-09-09 01:06 hgbot Note Added: 0070035
2014-09-09 01:06 hgbot Status new => resolved
2014-09-09 01:06 hgbot Resolution open => fixed
2014-09-09 01:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c66aae44a9030e05eedcabda3f6c3817900a300d [^]
2014-09-15 14:10 Orekaria Review Assigned To => Orekaria
2014-09-15 14:10 Orekaria Status resolved => closed
2014-09-15 14:10 Orekaria Fixed in Version => RR14Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker