Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013870Openbravo ERP04. Warehouse managementpublic2010-07-02 11:242010-08-26 13:51
RenateNieuwkoop 
harikrishnan 
urgentminoralways
closedfixed 
5
2.50MP19 
2.50MP21 
Core
No
0013870: warehouse/Storage bin for unactive organization are selectable in screens
This issue is logged for support ticket 8701 from Javi Retegui related to project CONCORDIA004

When an organization is made inactive and the organization was made inactive in the role access, you can still select the warehouse (in some case) and the storage bins that were set up specifically for that organization.
Use the smallbazaar data
enter with Openbravo Admin role

Create a warehouse for organization B11 with a storage bin related to that warehouse
General Setup || Enterprise || Organization || Organization
change organization B11 to inactive
General Setup || Security || Role || Role select Openbravo admin
change access to organization B11 to inactive

Sales Management || Transactions || Goods Shipment || Header
You can't select warehouse for B11 in the header, but you can select storage bin related to the warehouse in B11 in the lines

Warehouse Management || Transactions || Physical Inventory || Header
the warehouse for org B11 is still selectable

Warehouse Management || Transactions || Goods Movements || Header >> Lines
here you can still select the storage bins in org B11 aswell

....
probably there are more screens
When a organization is inactive, the warehouses plus storage bins related to that organization should not be selectable in screens.
No tags attached.
png 020710OrgB11inactive.png (33,283) 2010-07-02 11:24
https://issues.openbravo.com/file_download.php?file_id=2739&type=bug
png

png 020710StoragebinorgB11.png (46,111) 2010-07-02 11:25
https://issues.openbravo.com/file_download.php?file_id=2740&type=bug
png

png 020710Storagebinselectable.png (47,732) 2010-07-02 11:25
https://issues.openbravo.com/file_download.php?file_id=2741&type=bug
png
Issue History
2010-07-02 11:24RenateNieuwkoopNew Issue
2010-07-02 11:24RenateNieuwkoopAssigned To => adrianromero
2010-07-02 11:24RenateNieuwkoopFile Added: 020710OrgB11inactive.png
2010-07-02 11:25RenateNieuwkoopFile Added: 020710StoragebinorgB11.png
2010-07-02 11:25RenateNieuwkoopFile Added: 020710Storagebinselectable.png
2010-07-05 13:06adrianromeroStatusnew => scheduled
2010-07-05 13:06adrianromerofix_in_branch => pi
2010-07-06 10:58jonalegriaesarteSeveritymajor => minor
2010-07-06 10:58jonalegriaesarteTarget Version => 2.50MP21
2010-07-06 10:58jonalegriaesartefix_in_branchpi =>
2010-07-22 06:27harikrishnanAssigned Toadrianromero => harikrishnan
2010-07-22 06:30hgbotCheckin
2010-07-22 06:30hgbotNote Added: 0029457
2010-07-22 06:30hgbotStatusscheduled => resolved
2010-07-22 06:30hgbotResolutionopen => fixed
2010-07-22 06:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/152032f5fa9412da735f3adea4191d8bff0a7b24 [^]
2010-07-22 06:33harikrishnanNote Added: 0029459
2010-07-23 09:17sureshbabuNote Added: 0029493
2010-07-23 09:17sureshbabuStatusresolved => closed
2010-07-24 00:00anonymoussf_bug_id0 => 3033809
2010-07-27 15:41hudsonbotCheckin
2010-07-27 15:41hudsonbotNote Added: 0029597

Notes
(0029457)
hgbot   
2010-07-22 06:30   
Repository: erp/devel/pi
Changeset: 152032f5fa9412da735f3adea4191d8bff0a7b24
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Jul 22 09:59:28 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/152032f5fa9412da735f3adea4191d8bff0a7b24 [^]

Fixes Issue 13870: warehouse/Storage bin for inactive organisation are selectable in screens

---
M src-db/database/sourcedata/AD_REF_TABLE.xml
M src/org/openbravo/erpCommon/info/Locator_data.xsql
---
(0029459)
harikrishnan   
2010-07-22 06:33   
Steps to test:
*Follow the steps given in the issue.
Root Cause:
*Before the warehouse are not filtered by organization.
Impact:
*Their is no impact because of this fix.
(0029493)
sureshbabu   
2010-07-23 09:17   
verified
(0029597)
hudsonbot   
2010-07-27 15:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/152032f5fa94 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/634cc0909ed2 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17922.obx [^]