Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0057775Openbravo ERP07. Sales managementpublic2025-01-28 10:062025-03-10 13:11
philippe_mui 
Sathishkumar 
lowminoralways
closedfixed 
5
 
 
approved
Gold
Core
No
0057775: 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
FASH
depends on backport 0058185PR25Q1.1 closed Sathishkumar RM-20602 [OPECOM] - Impossible to Activate/Edit/Delete OPECOM if an included store is Active=N 
depends on backport 0058186PR24Q4.2 closed Sathishkumar RM-20602 [OPECOM] - Impossible to Activate/Edit/Delete OPECOM if an included store is Active=N 
Issue History
2025-01-28 10:06philippe_muiNew Issue
2025-01-28 10:06philippe_muiAssigned To => Triage Omni OMS
2025-01-28 10:06philippe_muiOBNetwork customer => Gold
2025-01-28 10:06philippe_muiModules => Core
2025-01-28 10:06philippe_muiTriggers an Emergency Pack => No
2025-01-28 10:06philippe_muiTag Attached: FASH
2025-01-29 08:11jonaeAssigned ToTriage Omni OMS => radhakrishnan
2025-02-17 09:53jonaeAssigned Toradhakrishnan => Sathishkumar
2025-03-06 08:13hgbotMerge Request Status => open
2025-03-06 08:13hgbotNote Added: 0176511
2025-03-10 10:01hgbotMerge Request Statusopen => approved
2025-03-10 10:02hgbotResolutionopen => fixed
2025-03-10 10:02hgbotStatusnew => closed
2025-03-10 10:02hgbotNote Added: 0176575
2025-03-10 10:02hgbotNote Added: 0176576
2025-03-10 13:11jonaeStatusclosed => new
2025-03-10 13:11jonaeResolutionfixed => open
2025-03-10 13:11jonaeStatusnew => scheduled
2025-03-10 13:11jonaeStatusscheduled => resolved
2025-03-10 13:11jonaeFixed in SCM revision => 1
2025-03-10 13:11jonaeResolutionopen => fixed
2025-03-10 13:11jonaeStatusresolved => closed

Notes
(0176511)
hgbot   
2025-03-06 08:13   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.commercialoperations/-/merge_requests/82 [^]
(0176575)
hgbot   
2025-03-10 10:02   
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: d9af6587839f046ebb3c8800fe5bb88994e0ef7f
Author: Sathishkumar Palanisamy <sa.palanisamy@external.orisha.com>
Date: 07-03-2025 15:44:48
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.commercialoperations/-/commit/d9af6587839f046ebb3c8800fe5bb88994e0ef7f [^]

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

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