Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050217Retail ModulesDiscounts and Promotionspublic2022-09-09 22:002022-09-12 10:19
jlopez 
jlopez 
normalmajorhave not tried
closedfixed 
5
 
 
No
0050217: [PROMO] - Error stores list in csv when retrieving the list of eligible stores : Store included but excluded from a store set
In discounts and promotion, there is a button called "Store perimeter report". It shows all the store link to a specific promotion. In this case, when adding stores in "Organization" and store set as active with stores with the start date before the discount date, it is not displaying the list of stores correctly
Prerequisites:
- Create a regular store set S active with store B set as active and start date before discount start date

Test steps:
1. In Openbravo BackOffice, go to 'Discounts and Promotions' window and create/edit a promotion
2. Click on the 'Included Organizations' field and select 'Only those defined'
3. Go to 'Organization' tab, add stores A and B and check the 'Active' box
4. Click on the 'Included Store Set' field and select 'All excluding defined'
5. Go to 'Store Set' tab, add store set S and check the 'Active' box
6. Click on the button to report the store perimeter
7. Check the csv file

Expected behavior: only store A should appear.

Current behavior: stores A and B appear.
No tags attached.
Issue History
2022-09-09 22:00jlopezNew Issue
2022-09-09 22:00jlopezAssigned To => jlopez
2022-09-09 22:00jlopezTriggers an Emergency Pack => No
2022-09-09 22:07hgbotNote Added: 0140977
2022-09-12 10:18hgbotResolutionopen => fixed
2022-09-12 10:18hgbotStatusnew => closed
2022-09-12 10:19hgbotFixed in Version => 22Q4
2022-09-12 10:19hgbotNote Added: 0141006
2022-09-12 10:19hgbotNote Added: 0141007

Notes
(0140977)
hgbot   
2022-09-09 22:07   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1192 [^]
(0141006)
hgbot   
2022-09-12 10:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f9634b040ac09bb3db6cf3f775b0a37f8855902e
Author: Javier López <javier.lopez@precognis.com>
Date: 12-09-2022 08:18:02
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f9634b040ac09bb3db6cf3f775b0a37f8855902e [^]

Fixes ISSUE-50217: Error listing stores with a start date prior to the discount

---
M src/org/openbravo/pos2/process/StorePerimeterReport.java
---
(0141007)
hgbot   
2022-09-12 10:19   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1192 [^]