Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0058185Openbravo ERP07. Sales managementpublic2025-01-28 10:062025-03-11 17:14
philippe_mui 
Sathishkumar 
lowminoralways
closedfixed 
5
 
PR25Q1.1 
approved
Gold
Core
No
0058185: 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 => PR25Q1.1
2025-03-10 16:44hgbotNote Added: 0176625
2025-03-11 17:14hgbotResolutionopen => fixed
2025-03-11 17:14hgbotStatusscheduled => closed
2025-03-11 17:14hgbotNote Added: 0176679
2025-03-11 17:14hgbotNote Added: 0176680

Notes
(0176625)
hgbot   
2025-03-10 16:44   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/84 [^]
(0176679)
hgbot   
2025-03-11 17:14   
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: 2ff480dc9d34baecc737430013f1a4d5622bf9c3
Author: Sathishkumar Palanisamy <sa.palanisamy@external.orisha.com>
Date: 10-03-2025 18:53:15
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.commercialoperations/-/commit/2ff480dc9d34baecc737430013f1a4d5622bf9c3 [^]

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

---
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/commercialoperations/process/AddStoresForDateRangeProcess.java
---
(0176680)
hgbot   
2025-03-11 17:14   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/84 [^]