Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026958Retail ModulesWeb POSpublic2014-06-26 23:332014-09-16 01:34
jecharri 
Orekaria 
urgentminoralways
closedfixed 
5
 
RR14Q4 
szapata
No
0026958: It does not work to apply 3 discounts and with 2 also work wrong
It does not work to apply 3 discounts and with 2 also work wrong
-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
No tags attached.
png pack.png (96,593) 2014-06-26 23:36
https://issues.openbravo.com/file_download.php?file_id=7026&type=bug
png

png 10_percent.png (96,506) 2014-06-26 23:36
https://issues.openbravo.com/file_download.php?file_id=7027&type=bug
png

png 20_percent.png (95,941) 2014-06-26 23:37
https://issues.openbravo.com/file_download.php?file_id=7028&type=bug
png
Issue History
2014-06-26 23:33jecharriNew Issue
2014-06-26 23:33jecharriAssigned To => marvintm
2014-06-26 23:33jecharriResolution time => 1406671200
2014-06-26 23:33jecharriTriggers an Emergency Pack => No
2014-06-26 23:36jecharriFile Added: pack.png
2014-06-26 23:36jecharriFile Added: 10_percent.png
2014-06-26 23:37jecharriFile Added: 20_percent.png
2014-06-27 12:07marvintmTarget VersionRR14Q3 => RR14Q4
2014-06-27 12:08marvintmNote Added: 0068402
2014-07-30 19:27OrekariaRelationship addedrelated to 0026916
2014-07-30 19:28OrekariaRelationship deletedrelated to 0026916
2014-08-06 10:56OrekariaAssigned Tomarvintm => Orekaria
2014-08-06 10:56OrekariaStatusnew => feedback
2014-08-24 18:29mtaalNote Added: 0069680
2014-08-24 18:29mtaalStatusfeedback => new
2014-09-01 14:06hgbotCheckin
2014-09-01 14:06hgbotNote Added: 0069890
2014-09-01 14:06hgbotStatusnew => resolved
2014-09-01 14:06hgbotResolutionopen => fixed
2014-09-01 14:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b1b0986e197843e24cc6096bc1d926c51eb4051d [^]
2014-09-02 19:52hudsonbotCheckin
2014-09-02 19:52hudsonbotNote Added: 0069919
2014-09-16 01:34szapataReview Assigned To => szapata
2014-09-16 01:34szapataStatusresolved => closed

Notes
(0068402)
marvintm   
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   
2014-08-24 18:29   
Based on comment from Antonio the validation can be implemented
(0069890)
hgbot   
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   
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