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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026122
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2014-03-28 14:352014-04-03 17:14
ReportergorkaionView Statuspublic 
Assigned Togorkaion 
PrioritynormalResolutionfixedFixed in VersionRR14Q2
StatusclosedFix in branchFixed in SCM revisiond819bac0843e
ProjectionnoneETAnoneTarget VersionRR14Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomalsasua
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026122: Merge lines of same promotion does not consider products with diferent discounts

DescriptionIn case there is a promotion that can apply different discounts to a same product the merge lines of same promotion does not work.

For example a buy X units and get one free of a product. This would create a line with the X units and 0 discount and another line of the same product with 100% of discount. Both lines belong to the same promotion but shouldn't be merged.
Steps To ReproduceInstall "Two Families Discount" module.
Enable the best deal case.
configure a promotion with 2 families. both applying to the same product.
create a receipt that will apply the promotion.
Pay it so the best deal case is calculated.

Both lines of the receipt will be merged in one loosing the discount information.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0065588)
hgbot (developer)
2014-03-28 14:49

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d819bac0843e91ca980af3e091a22f8b6079beef
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri Mar 28 14:46:04 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d819bac0843e91ca980af3e091a22f8b6079beef [^]

Fixed issue 26122.Fixed issue 26123.
* Added family to the promotion information so promotions using it can add it
  and the mergeLinesWithSamePromotions can differentiate lines of different
  families during the merge.
* Add a return statement on the splitLine function when a new line is created.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0065648)
malsasua (developer)
2014-04-01 09:55

verified
(0066147)
hgbot (developer)
2014-04-03 16:45

Repository: erp/pmods/org.openbravo.retail.posterminal.cds
Changeset: d819bac0843e91ca980af3e091a22f8b6079beef
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri Mar 28 14:46:04 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cds/rev/d819bac0843e91ca980af3e091a22f8b6079beef [^]

Fixed issue 26122.Fixed issue 26123.
* Added family to the promotion information so promotions using it can add it
  and the mergeLinesWithSamePromotions can differentiate lines of different
  families during the merge.
* Add a return statement on the splitLine function when a new line is created.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0066156)
malsasua (developer)
2014-04-03 17:14

closed again

- Issue History
Date Modified Username Field Change
2014-03-28 14:35 gorkaion New Issue
2014-03-28 14:35 gorkaion Assigned To => gorkaion
2014-03-28 14:35 gorkaion Triggers an Emergency Pack => No
2014-03-28 14:49 hgbot Checkin
2014-03-28 14:49 hgbot Note Added: 0065588
2014-03-28 14:49 hgbot Status new => resolved
2014-03-28 14:49 hgbot Resolution open => fixed
2014-03-28 14:49 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d819bac0843e91ca980af3e091a22f8b6079beef [^]
2014-04-01 09:55 malsasua Review Assigned To => malsasua
2014-04-01 09:55 malsasua Note Added: 0065648
2014-04-01 09:55 malsasua Status resolved => closed
2014-04-01 09:55 malsasua Fixed in Version => RR14Q2
2014-04-03 16:45 hgbot Checkin
2014-04-03 16:45 hgbot Note Added: 0066147
2014-04-03 16:45 hgbot Status closed => resolved
2014-04-03 16:45 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d819bac0843e91ca980af3e091a22f8b6079beef [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cds/rev/d819bac0843e91ca980af3e091a22f8b6079beef [^]
2014-04-03 17:14 malsasua Note Added: 0066156
2014-04-03 17:14 malsasua Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker