Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054900Retail ModulesDiscounts and Promotionspublic2024-01-31 13:202024-03-11 17:12
noemieroussel 
Rajesh_18 
highmajorhave not tried
closedfixed 
5
 
RR24Q1.1 
No
0054900: [PROMO] Coupons - validity dates can be excluded from the promotion dates and it generates EWI
validity dates can be excluded from the promotion dates and it generates EWI
1.Go to the backoffice

2. Create a promotion without ending date and check “Uses Coupon code”

3. In the “Coupon” subtab, create a new coupon with dates : same starting date as the promotion, ending date in the future.

4. Add an ending date to the promotion, so it’s before the ending date of the coupon

5.In the POS, trigger the coupon and pay ->see that the dates are not coherent

6. In the Error while importing window, see that an EWI has been created
No tags attached.
blocks defect 0054523 closed Rajesh_18 [PROMO] Coupons - validity dates can be excluded from the promotion dates and it generates EWI 
Issue History
2024-03-11 07:45marvintmTypedefect => backport
2024-03-11 07:45marvintmTarget Version => RR24Q1.1
2024-03-11 16:58hgbotNote Added: 0161975
2024-03-11 17:12hgbotNote Added: 0161978
2024-03-11 17:12hgbotResolutionopen => fixed
2024-03-11 17:12hgbotStatusscheduled => closed
2024-03-11 17:12hgbotNote Added: 0161979

Notes
(0161975)
hgbot   
2024-03-11 16:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/45 [^]
(0161978)
hgbot   
2024-03-11 17:12   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/45 [^]
(0161979)
hgbot   
2024-03-11 17:12   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^]
Changeset: 8f4dfd0fa9702c679ae316af08ac00c32a72b5db
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 11-03-2024 21:26:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/8f4dfd0fa9702c679ae316af08ac00c32a72b5db [^]

Fixed ISSUE-54900: Validated promotions end date with coupon validTo date

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/discounts/coupons/event/CouponEventHandler.java
---