Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050867 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts and Promotions | major | always | 2022-11-11 21:07 | 2022-11-16 10:13 | |||
Reporter | jlopez | View Status | public | |||||
Assigned To | jlopez | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050867: Error stores list in csv file when retrieving the list of eligible stores | |||||||
Description | In discounts and promotion, there is a button called "Store perimeter report". It shows all the store link to a specific promotion. The filters to take into account to generate the Store Perimeter Report are the following: - Organization: the organization defined in the header of the discount. - Included Organizations: Only those defined or All excluding defined. Organizations are defined in the "Organization" tab. - Included Store Sets: Only those defined or All excluding defined. Store Sets are defined in the "Store Set" tab. The dates defined for the stores in the store set are taken into account to filter the report on the dates of the discount. Each and every one of the filters must be met for the discount to apply to the stores and only the organizations whose field "Retail Organization Type=Store" will be shown. In this case, if we add stores to both the organizations filter and the store set filter, we include only those defined in one filter and those excluded in the other filter or vice versa, and we apply for the entire discount period, the result obtained is not what is expected. https://openbravo.atlassian.net/browse/RM-3635 [^] | |||||||
Steps To Reproduce | Prerequisites: - Create a regular store set S active with store B for the entire discount period and set as active 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 for the entire discount period 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 for the entire discount period and check the 'Active' box 6. Click on the button to report the store perimeter 7. Check the csv file Expected behavior: Only A store appear. Current behavior: Stores A and B are displayed in the file in alphabetical order. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0143484) hgbot (developer) 2022-11-11 21:14 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1359 [^] |
(0143678) hgbot (developer) 2022-11-16 10:13 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1359 [^] |
(0143679) hgbot (developer) 2022-11-16 10:13 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: b1721addf9738fb8b72f7d61ddb7e4e0bdf658c9 Author: Javier López <javier.lopez@precognis.com> Date: 16-11-2022 09:13:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/b1721addf9738fb8b72f7d61ddb7e4e0bdf658c9 [^] Fixes ISSUE-50867: Error stores list in csv file when retrieving the list of eligible stores --- M src-test/org/openbravo/pos2/process/StorePerimeterReportTest.java M src/org/openbravo/pos2/process/StorePerimeterReport.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2022-11-11 21:07 | jlopez | New Issue | |
2022-11-11 21:07 | jlopez | Assigned To | => jlopez |
2022-11-11 21:07 | jlopez | OBNetwork customer | => No |
2022-11-11 21:07 | jlopez | Triggers an Emergency Pack | => No |
2022-11-11 21:14 | hgbot | Merge Request Status | => open |
2022-11-11 21:14 | hgbot | Note Added: 0143484 | |
2022-11-16 10:12 | hgbot | Merge Request Status | open => approved |
2022-11-16 10:13 | hgbot | Resolution | open => fixed |
2022-11-16 10:13 | hgbot | Status | new => closed |
2022-11-16 10:13 | hgbot | Note Added: 0143678 | |
2022-11-16 10:13 | hgbot | Fixed in Version | => 23Q1 |
2022-11-16 10:13 | hgbot | Note Added: 0143679 |
Copyright © 2000 - 2009 MantisBT Group |