Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050982
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Commercial Operationsmajoralways2022-11-23 12:102022-12-13 09:11
ReporterjlopezView Statuspublic 
Assigned Tojlopez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0050982: [OPECOM] Add stores from store set type super set does not work correctly.

DescriptionIn 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 [^]
Steps To Reproduce1. 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0051025 closedranjith_qualiantech_com Retail Modules Store is not included in OPECOM if start and end date in store set = start date of OPECOM 

-  Notes
(0144063)
hgbot (developer)
2022-11-24 01:41

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/29 [^]
(0144172)
hgbot (developer)
2022-11-26 00:43

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1390 [^]
(0144566)
hgbot (developer)
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 (developer)
2022-12-13 09:11

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1390 [^]
(0144568)
hgbot (developer)
2022-12-13 09:11

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/29 [^]
(0144569)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2022-11-23 12:10 jlopez New Issue
2022-11-23 12:10 jlopez Assigned To => jlopez
2022-11-24 01:41 hgbot Note Added: 0144063
2022-11-24 16:23 aferraz Description Updated View Revisions
2022-11-26 00:43 hgbot Note Added: 0144172
2022-12-13 09:11 hgbot Resolution open => fixed
2022-12-13 09:11 hgbot Status new => closed
2022-12-13 09:11 hgbot Fixed in Version => 23Q1
2022-12-13 09:11 hgbot Note Added: 0144566
2022-12-13 09:11 hgbot Note Added: 0144567
2022-12-13 09:11 hgbot Note Added: 0144568
2022-12-13 09:11 hgbot Note Added: 0144569
2022-12-16 08:23 marvintm Relationship added has duplicate 0051025


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker