Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0058186Openbravo ERP07. Sales managementpublic2025-01-28 10:062025-03-11 17:15
philippe_mui 
Sathishkumar 
lowminoralways
closedfixed 
5
 
PR24Q4.2 
approved
Gold
Core
No
0058186: RM-20602 [OPECOM] - Impossible to Activate/Edit/Delete OPECOM if an included store is Active=N
It's impossible to Activate/Edit/Delete OPECOM if an included store is Active=N


See video : https://drive.google.com/file/d/1BsNSoIrC5njEXf8kaHaXlfK9g-rFRzS4/view?usp=sharing [^]


https://openbravo.atlassian.net/browse/RM-20602 [^]
Steps :
1.Create a Store set in stores set window with 6 stores
2.Create an OPECOM
3.Add the store set
4.Deactivate on of the store (for instance Central Mountains Store) in 5.Organization window
6.Log out
7.Log in
8.Come back to the OPECOM
9.Try to remove the deactivated store => impossible as not editable
10.Try to delete the OPECOM => impossible because of an error message
11.Try to activate the OPECOM => KO because of the deactivated store
12.Activate the organization that was inactive in organization window
13.Log out
14.Log in
15.In the OPECOM, try to edit the organization that was deactivated => OK
16.In the OPECOM, try to activate it => OK
17.In the OPECOM, try to delete it => OK
The opecom shouldn't be blocked when a store or several stores are deactivated. It should be by-passed to allow others stores to activate the commercial operation
No tags attached.
blocks defect 0057775 closed Sathishkumar RM-20602 [OPECOM] - Impossible to Activate/Edit/Delete OPECOM if an included store is Active=N 
Issue History
2025-03-10 13:11jonaeTypedefect => backport
2025-03-10 13:11jonaeTarget Version => PR24Q4.2
2025-03-10 13:48hgbotNote Added: 0176604
2025-03-11 17:15hgbotNote Added: 0176682
2025-03-11 17:15hgbotResolutionopen => fixed
2025-03-11 17:15hgbotStatusscheduled => closed
2025-03-11 17:15hgbotNote Added: 0176683

Notes
(0176604)
hgbot   
2025-03-10 13:48   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/83 [^]
(0176682)
hgbot   
2025-03-11 17:15   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/83 [^]
(0176683)
hgbot   
2025-03-11 17:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.commercialoperations [^]
Changeset: 4fb4c10980deb48985a86004de45be4e61cbc365
Author: Sathishkumar Palanisamy <sa.palanisamy@external.orisha.com>
Date: 10-03-2025 18:08:17
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.commercialoperations/-/commit/4fb4c10980deb48985a86004de45be4e61cbc365 [^]

Fixes ISSUE-58186: Added filter active=Y while fetching the stores

---
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/commercialoperations/process/AddStoresForDateRangeProcess.java
---