Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054466Retail ModulesDiscounts and Promotionspublic2024-01-25 08:492024-03-11 07:45
noemieroussel 
Rajesh_18 
highmajoralways
closedfixed 
5
 
RR24Q2 
marvintm
No
0054466: [PROMO] Coupons OTF Generation Rules, validity dates can be configured wrongly without error message
When configuring the validity date for an OTF Coupon, it is possible to configure the Valid from/to in Days or Month.
Go to the backoffice and create an OTF coupon with :
-Organization : *
-Applicant : Vallblanca
-Search key : 12345
-Promotion : a promotion with Uses coupon code=Y and Is OTF=Y
-Description : test
-Starting date : today
-Valid from : Days - 5
-Valid to : Days - 3

--> See that you can save with valid to < valid from

Same behavior with Valid from/to in Month.
No tags attached.
depends on backport 0054898RR24Q1.1 closed Rajesh_18 Retail Modules [PROMO] Coupons OTF Generation Rules, validity dates can be configured wrongly without error message 
related to defect 0054523 closed Rajesh_18 Retail Modules [PROMO] Coupons - validity dates can be excluded from the promotion dates and it generates EWI 
related to defect 0055041 closed Rajesh_18 Openbravo ERP RM-11320 - [PROMO] Coupons OTF Generation Rules, validity dates can be configured wrongly without error message 
Issue History
2024-01-25 08:49noemierousselNew Issue
2024-01-25 08:49noemierousselAssigned To => Retail
2024-01-25 08:49noemierousselTriggers an Emergency Pack => No
2024-02-09 07:49Rajesh_18Assigned ToRetail => Rajesh_18
2024-02-09 07:49Rajesh_18Statusnew => scheduled
2024-02-15 07:26hgbotNote Added: 0160766
2024-02-16 07:22hgbotResolutionopen => fixed
2024-02-16 07:22hgbotStatusscheduled => closed
2024-02-16 07:22hgbotNote Added: 0160815
2024-02-16 07:22hgbotNote Added: 0160816
2024-03-07 16:39rafarodaRelationship addedrelated to 0054523
2024-03-11 07:44marvintmStatusclosed => new
2024-03-11 07:44marvintmResolutionfixed => open
2024-03-11 07:44marvintmStatusnew => scheduled
2024-03-11 07:45marvintmStatusscheduled => resolved
2024-03-11 07:45marvintmFixed in Version => RR24Q2
2024-03-11 07:45marvintmResolutionopen => fixed
2024-03-11 07:45marvintmReview Assigned To => marvintm
2024-03-11 07:45marvintmStatusresolved => closed
2024-03-24 23:09rafarodaRelationship addedrelated to 0055041

Notes
(0160766)
hgbot   
2024-02-15 07:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/44 [^]
(0160815)
hgbot   
2024-02-16 07:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: c3ae90972e9fb3820e8fbfd880cabdaff0d8b174
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 15-02-2024 11:56:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/c3ae90972e9fb3820e8fbfd880cabdaff0d8b174 [^]

Fixed ISSUE-54466: Added condition to check coupon validity From and To

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/discounts/coupons/otf/event/CouponrulesEventHandler.java
---
(0160816)
hgbot   
2024-02-16 07:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/44 [^]