Openbravo Issue Tracking System - Retail Modules
View Issue Details
0023430Retail ModulesDiscounts and Promotionspublic2013-03-28 17:102013-04-26 09:53
jecharri 
guilleaer 
urgentmajoralways
closedfixed 
5
 
RMP21RMP22 
migueldejuana
No
0023430: Problem with discount "Buy X pay Y of different product"
Problem with discount "Buy X pay Y of different product"

Is not working correctly when selecting "Apply to Lowest Price" as subtype
-go to window "discounts and promotions"

-create a discount with "Buy X pay Y of different product" and discount subtype "Apply to Lowest Price"

-Value for X = 4 and value for Y=1

add two products in tab product.

Go to web POS and verify that if you add four products 3X and 1Y you will see that discount is applied to X product and not to the cheapest product
No tags attached.
diff diffIssue23430.diff (2,143) 2013-04-03 18:45
https://issues.openbravo.com/file_download.php?file_id=6064&type=bug
Issue History
2013-03-28 17:10jecharriNew Issue
2013-03-28 17:10jecharriAssigned To => guilleaer
2013-03-28 17:10jecharriResolution time => 1366927200
2013-04-03 18:45guilleaerFile Added: diffIssue23430.diff
2013-04-03 18:46guilleaerNote Added: 0057715
2013-04-04 13:29hgbotCheckin
2013-04-04 13:29hgbotNote Added: 0057731
2013-04-04 13:29hgbotStatusnew => resolved
2013-04-04 13:29hgbotResolutionopen => fixed
2013-04-04 13:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/517def954bec7937432887c6e207f715211eca13 [^]
2013-04-26 09:53migueldejuanaReview Assigned To => migueldejuana
2013-04-26 09:53migueldejuanaNote Added: 0058270
2013-04-26 09:53migueldejuanaStatusresolved => closed
2013-04-26 09:53migueldejuanaFixed in Version => RMP22

Notes
(0057715)
guilleaer   
2013-04-03 18:46   
Attached you can find the proposed solution which is pending to be approved.
(0057731)
hgbot   
2013-04-04 13:29   
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: 517def954bec7937432887c6e207f715211eca13
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Apr 04 13:22:31 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/517def954bec7937432887c6e207f715211eca13 [^]

fixed issue 23430: get x pay y of different products is working fine

---
M src-db/database/model/functions/OBDISC_XY_DIFFERENT_PRODUCT.xml
M web/org.openbravo.retail.discounts/js/promotion-XYdifferentProduts.js
---
(0058270)
migueldejuana   
2013-04-26 09:53   
Tested and reviewed in RMP22