Openbravo Issue Tracking System - Modules
View Issue Details
0050982ModulesCommercial Operationspublic2022-11-23 12:102022-12-13 09:11
jlopez 
jlopez 
normalmajoralways
closedfixed 
5
 
 
0050982: [OPECOM] Add stores from store set type super set does not work correctly.
In the Commercial Operations window, when using the store add process, selecting the store set option, selecting one of the super set type and that the same store is included in the regular store sets included so that it is included in one and in another is excluded, the behavior of the process is not as expected.

https://openbravo.atlassian.net/browse/RM-3930 [^]
1. Login in https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/ [^] [^]

2. Create a new regular 'Store Set 1' with the following stores:
  - Store A -> Start Date = '01-12-2022', End Date = '15-12-2022'

3. Create a new regular 'Store Set 2' with the following stores:
  - Store A -> Start Date = '10-12-2022', End Date = '25-12-2022'

4. Create a new super 'Store Set 3' with the following store sets:
  - Store Set 1 Included
  - Store Set 2 Excluded

5. Create a new 'Commercial Operation' with Starting Date = '01-12-2022' and Ending Date = '30-12-2022'

6. Click on 'Add Store', select 'Filter Type'='Sets of Stores', select 'Store Set 3' and click on 'Done'.

Expected Result: In the Included Stores subtab, Store A has been added with Starting Date = '01-12-2022' and Ending Date = '09-12-2022'.

Current Result: In the Included Stores subtab, no stores have been added.
No tags attached.
has duplicate defect 0051025 closed ranjith_qualiantech_com Retail Modules Store is not included in OPECOM if start and end date in store set = start date of OPECOM 
Issue History
2022-11-23 12:10jlopezNew Issue
2022-11-23 12:10jlopezAssigned To => jlopez
2022-11-24 01:41hgbotNote Added: 0144063
2022-11-24 16:23aferrazDescription Updatedbug_revision_view_page.php?rev_id=25170#r25170
2022-11-26 00:43hgbotNote Added: 0144172
2022-12-13 09:11hgbotResolutionopen => fixed
2022-12-13 09:11hgbotStatusnew => closed
2022-12-13 09:11hgbotFixed in Version => 23Q1
2022-12-13 09:11hgbotNote Added: 0144566
2022-12-13 09:11hgbotNote Added: 0144567
2022-12-13 09:11hgbotNote Added: 0144568
2022-12-13 09:11hgbotNote Added: 0144569
2022-12-16 08:23marvintmRelationship addedhas duplicate 0051025

Notes
(0144063)
hgbot   
2022-11-24 01:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/29 [^]
(0144172)
hgbot   
2022-11-26 00:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1390 [^]
(0144566)
hgbot   
2022-12-13 09:11   
Directly closing issue as related merge request is already approved.

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

Fixes ISSUE-50982: Get stores from store set type super set does not work correctly

---
A src-test/org/openbravo/pos2/storeset/StoreSetUtilsTest.java
A src/org/openbravo/pos2/storeset/StoreSetUtils.java
M src-test/org/openbravo/pos2/StandaloneTestSuite.java
M src-test/org/openbravo/pos2/process/StorePerimeterReportTest.java
M src/org/openbravo/pos2/process/StorePerimeterReport.java
---
(0144567)
hgbot   
2022-12-13 09:11   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1390 [^]
(0144568)
hgbot   
2022-12-13 09:11   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/29 [^]
(0144569)
hgbot   
2022-12-13 09:11   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations [^]
Changeset: 8c2621de3db5eff1cd3fbd40fe8572aa90775636
Author: Javier López <javier.lopez@precognis.com>
Date: 13-12-2022 08:11:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/commit/8c2621de3db5eff1cd3fbd40fe8572aa90775636 [^]

Fixes ISSUE-50982: Add stores from store set type super set does not work correctly

---
M src/org/openbravo/commercialoperations/process/AddStoresForDateRangeProcess.java
---