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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022412
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2012-11-28 09:542012-11-28 10:19
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in VersionRMP17
StatusclosedFix in branchFixed in SCM revision989788964fd8
ProjectionnoneETAnoneTarget VersionRMP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022412: Fixed Percentage Discount is applied to just one unit in each line.

DescriptionFixed Percentage Discount is applied to just one product in each line.

If there are more than one product in that line, discount is applied just to the first one and not to the rest.

This is a regression introduced when implementing Discretionary Discounts
Steps To Reproduce-Create a Fixed Percentage Discount (10%) for product A (10€)
-Log in POS
-Add one product A -> 1€ is discounted -> OK
-Add 9 products A up to 10 -> 1€ is discounted -> FAIL, it should discount 10€
TagsRegression QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054618)
alostale (manager)
2012-11-28 10:00

As this was introduced by Discretionary discounts, as additional test plan:

*Together with the discount defined in steps to reproduce, create a User Defined Amount
*Having 11 A products, apply a discount of 10€ not overwritting -> Expected result is:
  - 11 x A -> 110€
  - manual discount -10€
  - fixed % -10 €
  - Total 90€
(0054619)
hgbot (developer)
2012-11-28 10:03

Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: 989788964fd80aaffc6640c19684c779f6a0df49
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Nov 28 10:02:19 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/989788964fd80aaffc6640c19684c779f6a0df49 [^]

fixed bug 22412: Fixed Percentage Disc is applied to just 1 prod in each line

---
M web/org.openbravo.retail.discounts/js/promotion-discount.js
M web/org.openbravo.retail.discounts/js/promotion-manual.js
---
(0054622)
guilleaer (manager)
2012-11-28 10:19

reviewed and tested

- Issue History
Date Modified Username Field Change
2012-11-28 09:54 alostale New Issue
2012-11-28 09:54 alostale Assigned To => alostale
2012-11-28 09:56 alostale Tag Attached: Regression QA
2012-11-28 10:00 alostale Note Added: 0054618
2012-11-28 10:02 alostale Summary Fixed Percentage Discount is applied to just one 1 in each line. => Fixed Percentage Discount is applied to just one unit in each line.
2012-11-28 10:02 alostale Description Updated View Revisions
2012-11-28 10:03 hgbot Checkin
2012-11-28 10:03 hgbot Note Added: 0054619
2012-11-28 10:03 hgbot Status new => resolved
2012-11-28 10:03 hgbot Resolution open => fixed
2012-11-28 10:03 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/989788964fd80aaffc6640c19684c779f6a0df49 [^]
2012-11-28 10:19 guilleaer Note Added: 0054622
2012-11-28 10:19 guilleaer Status resolved => closed
2012-11-28 10:19 guilleaer Fixed in Version => RMP17


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker