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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025380
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2013-12-19 18:252014-03-14 11:20
ReporterjecharriView Statuspublic 
Assigned Toguilleaer 
PriorityurgentResolutionfixedFixed in VersionRR14Q2
StatusclosedFix in branchFixed in SCM revision818068f2cc7b
ProjectionnoneETAnoneTarget VersionRR14Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025380: Problem with two packs that share some products Both packs with priority

DescriptionProblem with two packs that share some products Both packs with priority
Steps To Reproduce-Go to live instance
-Set priority 50 to pack "Camping pack"
-Create a pack with priority 10 and products:
Adhesive body warmers(1)
Down sleeping bag 500(1)

Go to web POS:
-add two "Down sleeping bag 500"
-add one "Expedition tent 4 season 2 person" --> pack "Camping pack is added"
-add one "Down sleeping bag 500"
-add one "Adhesive body warmers" --> verify that new pack is not added

At this moment if you refresh the window, you will see that new pack is added and also "Camping pack" but the amounts are completelly wrong
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0064540)
hgbot (developer)
2014-02-24 18:23

Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: 818068f2cc7b7578d2e03210d2d07e8846eb232f
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Feb 24 18:23:05 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/818068f2cc7b7578d2e03210d2d07e8846eb232f [^]

Fixed issue 25380: Priorities are calculated based on _idxç

---
M web/org.openbravo.retail.discounts/js/promotion-pack.js
---
(0064814)
hgbot (developer)
2014-03-05 10:41

Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: c0194f515aaa2d0e713bf3717cd0accc08f4bedc
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 05 10:41:40 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/c0194f515aaa2d0e713bf3717cd0accc08f4bedc [^]

Related to issue 25380. Remove unneeded commented line

---
M web/org.openbravo.retail.discounts/js/promotion-pack.js
---
(0065152)
sureshbabu (reporter)
2014-03-14 06:39

At WEBPOS after entering the below details

-add two "Down sleeping bag 500"
-add one "Expedition tent 4 season 2 person"
-add one "Down sleeping bag 500"
-add one "Adhesive body warmers"

Old pack discount is removed and new pack discount is added..

Not sure whether this is the expected behavior or not..
(0065160)
guilleaer (manager)
2014-03-14 11:20

It is working fine because the priority of the pack "Mini camping pack" is greater.

When adhesive body warmers are included in the ticket both packs are candidates but just one can be applied (limitation of discount: just one pack can affect to one line).

In this situation "Mini camping pack" will be applied because its priority is greater.

- Issue History
Date Modified Username Field Change
2013-12-19 18:25 jecharri New Issue
2013-12-19 18:25 jecharri Assigned To => guilleaer
2013-12-19 18:25 jecharri Resolution time => 1389654000
2013-12-19 18:25 jecharri Triggers an Emergency Pack => No
2014-01-23 17:33 guilleaer Target Version RMP30 => RMP32
2014-02-24 18:23 hgbot Checkin
2014-02-24 18:23 hgbot Note Added: 0064540
2014-02-24 18:23 hgbot Status new => resolved
2014-02-24 18:23 hgbot Resolution open => fixed
2014-02-24 18:23 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/818068f2cc7b7578d2e03210d2d07e8846eb232f [^]
2014-03-05 10:41 hgbot Checkin
2014-03-05 10:41 hgbot Note Added: 0064814
2014-03-05 10:56 marvintm Review Assigned To => marvintm
2014-03-05 10:56 marvintm Status resolved => closed
2014-03-05 10:56 marvintm Fixed in Version => RR14Q2
2014-03-14 06:39 sureshbabu Note Added: 0065152
2014-03-14 11:20 guilleaer Note Added: 0065160


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker