Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026978Retail ModulesDiscounts and Promotionspublic2014-06-30 18:372016-03-18 13:35
jecharri 
Sanjota 
urgentmajoralways
closedfixed 
5
 
RR16Q2 
marvintm
No
0026978: Define Buy X and get Y as gift and verify that it does not work fine in the ERP
Define Buy X and get Y as gift and verify that it does not work fine in the ERP
In the ERP, login as White Valley
-Define a new discount to by "adhesive body warmer" and as gift "All mountain ski board Cham"
-Create a sales order
-Add a line with "adhesive body warmer"
-Add a line with "All mountain ski board Cham"
-Add a line with "All mountain ski board Cham"

Book the order. Verify that 2 lines for "All mountain ski board Cham" are free. Instead of apply the discount in one line the discount is applied to all lines with "All mountain ski board Cham" product
No tags attached.
diff issue26978.diff (2,410) 2014-07-02 11:42
https://issues.openbravo.com/file_download.php?file_id=7033&type=bug
? issue_26978 (4,048,550) 2016-03-08 19:55
https://issues.openbravo.com/file_download.php?file_id=9145&type=bug
Issue History
2014-06-30 18:37jecharriNew Issue
2014-06-30 18:37jecharriAssigned To => marvintm
2014-06-30 18:37jecharriResolution time => 1404252000
2014-06-30 18:37jecharriTriggers an Emergency Pack => No
2014-06-30 19:00jecharriResolution time1404252000 => 1404165600
2014-07-02 09:17hgbotCheckin
2014-07-02 09:17hgbotNote Added: 0068495
2014-07-02 09:17hgbotStatusnew => resolved
2014-07-02 09:17hgbotResolutionopen => fixed
2014-07-02 09:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/3f4fe62ff078774043d61de2d5099f3fbf59bd0b [^]
2014-07-02 11:42marvintmNote Added: 0068505
2014-07-02 11:42marvintmStatusresolved => new
2014-07-02 11:42marvintmResolutionfixed => open
2014-07-02 11:42marvintmFile Added: issue26978.diff
2016-03-08 18:32OrekariaAssigned Tomarvintm => Sanjota
2016-03-08 18:32OrekariaStatusnew => scheduled
2016-03-08 19:55mario_castelloFile Added: issue_26978
2016-03-08 20:01OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11389#r11389
2016-03-11 14:27hgbotCheckin
2016-03-11 14:27hgbotNote Added: 0084915
2016-03-11 14:27hgbotStatusscheduled => resolved
2016-03-11 14:27hgbotResolutionopen => fixed
2016-03-11 14:27hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/3f4fe62ff078774043d61de2d5099f3fbf59bd0b [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/6eb911f5a793ee43175b65107532cf455e1c5b4b [^]
2016-03-18 13:35marvintmReview Assigned To => marvintm
2016-03-18 13:35marvintmStatusresolved => closed
2016-03-18 13:35marvintmFixed in Version => RR16Q2

Notes
(0068495)
hgbot   
2014-07-02 09:17   
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: 3f4fe62ff078774043d61de2d5099f3fbf59bd0b
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Wed Jul 02 04:17:25 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/3f4fe62ff078774043d61de2d5099f3fbf59bd0b [^]

Fixed issue 26978: Discount applied just to the correct lines

---
M src-db/database/model/functions/OBDISC_XY_GIFT.xml
---
(0068505)
marvintm   
2014-07-02 11:42   
Reverted the commit. Will be pushed again once the freeze is done.
(0084915)
hgbot   
2016-03-11 14:27   
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: 6eb911f5a793ee43175b65107532cf455e1c5b4b
Author: sanjota <sanjota.nelagi <at> promantia.com>
Date: Wed Mar 09 22:53:26 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/6eb911f5a793ee43175b65107532cf455e1c5b4b [^]

Fixes issue 26978: Fixed Buy X and get Y as gift while working in the ERP

---
M src-db/database/model/functions/OBDISC_XY_GIFT.xml
---