Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052194Retail ModulesDiscounts and Promotionspublic2023-04-21 09:242023-05-09 07:36
noemieroussel 
sreehari 
highmajoralways
closedfixed 
5
 
RR23Q3 
approved
Gold
No
0052194: [PROMO]- Buy X Get Y - Not able to include or exclude characteristics in promotion
In BO, i can’t exclude characteristics in promotion because of an error message “ You must define a quantity greater than 0 “
1. Go to the backoffice

2. Go to the "Discounts and Promotions" window and create a new record.

3. Select the Promo type : Buy X and get Y as gift

4. Select the subtype : Buy All X Gift All Y

5. Name : Test Buy all X get all Y test

6. Add filters :

-Product categories = Only those defined : Food => OK

-Excluded characteristics = Any of the ones defined or All of the values defined : Battery Life / 20h => KO, “ You must define a quantity greater than 0 “
No tags attached.
png Mantis.png (96,951) 2023-04-21 09:24
https://issues.openbravo.com/file_download.php?file_id=18399&type=bug
png
Issue History
2023-04-21 09:24noemierousselNew Issue
2023-04-21 09:24noemierousselAssigned To => Retail
2023-04-21 09:24noemierousselFile Added: Mantis.png
2023-04-21 09:24noemierousselOBNetwork customer => Gold
2023-04-21 09:24noemierousselTriggers an Emergency Pack => No
2023-04-26 11:30sreehariAssigned ToRetail => sreehari
2023-04-26 11:30sreehariStatusnew => scheduled
2023-04-27 14:52hgbotMerge Request Status => open
2023-04-27 14:52hgbotNote Added: 0149013
2023-05-09 07:35hgbotMerge Request Statusopen => approved
2023-05-09 07:36hgbotNote Added: 0149456
2023-05-09 07:36hgbotResolutionopen => fixed
2023-05-09 07:36hgbotStatusscheduled => closed
2023-05-09 07:36hgbotFixed in Version => RR23Q3
2023-05-09 07:36hgbotNote Added: 0149457

Notes
(0149013)
hgbot   
2023-04-27 14:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/100 [^]
(0149456)
hgbot   
2023-05-09 07:36   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/100 [^]
(0149457)
hgbot   
2023-05-09 07:36   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 8a462cd1d342992b32fe36ea9766cd4f46fd4bca
Author: Sreehari Venkataraman <sreehari@qualiantech.com>
Date: 27-04-2023 15:41:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/8a462cd1d342992b32fe36ea9766cd4f46fd4bca [^]

Fixes ISSUE-52194: Fixed exclude characteristics Error Msg

---
M src/org/openbravo/retail/discounts/event/MOfferCharacteristicsEventHandler.java
---