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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026958
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2014-06-26 23:332014-09-16 01:34
ReporterjecharriView Statuspublic 
Assigned ToOrekaria 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionb1b0986e1978
ProjectionnoneETAnoneTarget VersionRR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toszapata
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026958: It does not work to apply 3 discounts and with 2 also work wrong

DescriptionIt does not work to apply 3 discounts and with 2 also work wrong
Steps To Reproduce-Define 3 discounts as you can see in the images

-Go to Web POS
-Add one "adhesive" verify that 10% discount is applied
-Add 20 "adhesive" and verify that instead of apply 3 discounts only pack discount is applied
-Add 21 "adhesive" and verify that pack + 10% discounts are applied

Finally, 20 percent discount never is applied
TagsNo tags attached.
Attached Filespng file icon pack.png [^] (96,593 bytes) 2014-06-26 23:36


png file icon 10_percent.png [^] (96,506 bytes) 2014-06-26 23:36


png file icon 20_percent.png [^] (95,941 bytes) 2014-06-26 23:37

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0068402)
marvintm (manager)
2014-06-27 12:08

After a pack is applied, no other discounts can be applied. This is explained in the documentation here:

http://wiki.openbravo.com/wiki/Retail:Discounts_and_Promotions_Rules#Packs [^]

"Apply Next Discount: Because this promotion type requires multiple line to be computed, it does not allow to apply other promotions after it, so this flag is forced to be false."

A validation will be added to ensure that when defining a pack, the user cannot check the "apply next discount" flag.

No other change is necessary.
(0069680)
mtaal (manager)
2014-08-24 18:29

Based on comment from Antonio the validation can be implemented
(0069890)
hgbot (developer)
2014-09-01 14:06

Repository: erp/devel/pi
Changeset: b1b0986e197843e24cc6096bc1d926c51eb4051d
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Sep 01 14:06:08 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b1b0986e197843e24cc6096bc1d926c51eb4051d [^]

Fixes issue 26958: After a pack is applied, no other discounts can be applied

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0069919)
hudsonbot (developer)
2014-09-02 19:52

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6b48609f5665 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-06-26 23:33 jecharri New Issue
2014-06-26 23:33 jecharri Assigned To => marvintm
2014-06-26 23:33 jecharri Resolution time => 1406671200
2014-06-26 23:33 jecharri Triggers an Emergency Pack => No
2014-06-26 23:36 jecharri File Added: pack.png
2014-06-26 23:36 jecharri File Added: 10_percent.png
2014-06-26 23:37 jecharri File Added: 20_percent.png
2014-06-27 12:07 marvintm Target Version RR14Q3 => RR14Q4
2014-06-27 12:08 marvintm Note Added: 0068402
2014-07-30 19:27 Orekaria Relationship added related to 0026916
2014-07-30 19:28 Orekaria Relationship deleted related to 0026916
2014-08-06 10:56 Orekaria Assigned To marvintm => Orekaria
2014-08-06 10:56 Orekaria Status new => feedback
2014-08-24 18:29 mtaal Note Added: 0069680
2014-08-24 18:29 mtaal Status feedback => new
2014-09-01 14:06 hgbot Checkin
2014-09-01 14:06 hgbot Note Added: 0069890
2014-09-01 14:06 hgbot Status new => resolved
2014-09-01 14:06 hgbot Resolution open => fixed
2014-09-01 14:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b1b0986e197843e24cc6096bc1d926c51eb4051d [^]
2014-09-02 19:52 hudsonbot Checkin
2014-09-02 19:52 hudsonbot Note Added: 0069919
2014-09-16 01:34 szapata Review Assigned To => szapata
2014-09-16 01:34 szapata Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker