Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054062Retail ModulesDiscounts and Promotionspublic2023-11-30 16:442023-12-20 11:51
noemieroussel 
Rajesh_18 
highmajorhave not tried
closedfixed 
5
 
RR24Q1 
approved
Gold
No
0054062: When adding store set on OPECOM with end date>today, an error message appears
When adding store set on OPECOM with end date>today, an error message appears
Steps to reproduce.

Go to “Store set” window and define a regular store set S1 active with:

store A set as active and with starting date DA1 > D2 (in the future regarding OPECOM)

store B set as active and with starting date DB1 = D and ending date DB2 = D (today)

store C set as active and with starting date DC1 = D1 and ending date DC2 = D2 (same dates as OPECOM)

store E set as active and with starting date DE1 < D1 and ending date DE2 < D2 (in the past regarding OPECOM

 

2. Define a regular store set S2 active with:

store F set as active and with starting date DF1 and ending date DF2 < D1 (in the past regarding OPECOM)

store G set as active and with starting date DG1 < D1 and ending date DG2 > D2 (OPECOM included)

store H set as active and with starting date D < DH1 < D2 (included in OPECOM but later than today)

store I set as inactive and with starting date DI1 < D1 and ending date DI2 > D2 (OPECOM included)

3. Go to the “Commercial operation” window.

4. Create a commercial operation with starting date in the past regarding today's date, and ending date in the future regarding today's date.

5. Click on “Add Stores” button and select “Sets of stores” in the filter type → See that the dates are automatically fulfilled with starting and ending date of the OPECOM.

6. Select those 2 stores sets.

7. Click on “Done”.

→ See the following message on the screenshot (from the 22th of Nov)
No tags attached.
png test nro mantis.png (106,874) 2023-11-30 16:44
https://issues.openbravo.com/file_download.php?file_id=19192&type=bug
png
Issue History
2023-11-30 16:44noemierousselNew Issue
2023-11-30 16:44noemierousselAssigned To => Retail
2023-11-30 16:44noemierousselFile Added: test nro mantis.png
2023-11-30 16:44noemierousselOBNetwork customer => Gold
2023-11-30 16:44noemierousselTriggers an Emergency Pack => No
2023-12-11 07:17Rajesh_18Assigned ToRetail => Rajesh_18
2023-12-11 11:41noemierousselSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27220#r27220
2023-12-11 12:37Rajesh_18Statusnew => scheduled
2023-12-12 06:33hgbotMerge Request Status => open
2023-12-12 06:33hgbotNote Added: 0158068
2023-12-20 11:51hgbotMerge Request Statusopen => approved
2023-12-20 11:51hgbotResolutionopen => fixed
2023-12-20 11:51hgbotStatusscheduled => closed
2023-12-20 11:51hgbotNote Added: 0158400
2023-12-20 11:51hgbotFixed in Version => 24Q1
2023-12-20 11:51hgbotNote Added: 0158401

Notes
(0158068)
hgbot   
2023-12-12 06:33   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2285 [^]
(0158400)
hgbot   
2023-12-20 11:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2285 [^]
(0158401)
hgbot   
2023-12-20 11:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: dd6dca8890e9a616016f7500642dc848a40e796d
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 20-12-2023 11:07:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/dd6dca8890e9a616016f7500642dc848a40e796d [^]

Fixed ISSUE-54062: While adding store set end date must be greater than or equal to today's date

---
M src/org/openbravo/pos2/storeset/StoreSetUtils.java
---