Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020341Openbravo ERP04. Warehouse managementpublic2012-04-24 18:152012-04-26 19:32
dmiguelez 
dmiguelez 
normalminoralways
closedfixed 
20Community Appliance
pi 
 
Core
No
0020341: A Warehouse with Storage Bin with products or with pending movements can be deactivated
The application is allowing to deactivate a warehouse withtorage Bin with products or with pending movements.
Login as Openbravo/openbravo

Go to Warehouse and Storage Bins.
Select the one with search key: EC
Move to Storage Bin tab.
Select the one with search key: ECC-0-0-0
Move to Bin Contents tab.
Realize that is not empty.
Move back to Warehouse tab and deactivate the previously selected warehouse.
Realize that this is possible.
Show a warining message to the user
No tags attached.
related to defect 0020288 closed dmiguelez A Storage Bin having Products can be deactivated. 
related to defect 00201053.0MP11 closed umartirena Automatic processes create goods shipments with inactives bins 
Issue History
2012-04-24 18:15dmiguelezNew Issue
2012-04-24 18:15dmiguelezAssigned To => dmiguelez
2012-04-24 18:15dmiguelezModules => Core
2012-04-24 18:15dmiguelezStatusnew => scheduled
2012-04-24 18:15dmiguelezfix_in_branch => pi
2012-04-24 18:39dmiguelezNote Added: 0047935
2012-04-24 18:40dmiguelezRelationship addedrelated to 0020288
2012-04-24 18:40dmiguelezNote Edited: 0047935bug_revision_view_page.php?bugnote_id=0047935#r3395
2012-04-24 18:43dmiguelezNote Edited: 0047935bug_revision_view_page.php?bugnote_id=0047935#r3397
2012-04-25 18:35hgbotCheckin
2012-04-25 18:35hgbotNote Added: 0047978
2012-04-25 18:35hgbotStatusscheduled => resolved
2012-04-25 18:35hgbotResolutionopen => fixed
2012-04-25 18:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/72795668d074ac2ffbcca837323de5e34cc9b889 [^]
2012-04-25 18:35hgbotCheckin
2012-04-25 18:35hgbotNote Added: 0047979
2012-04-25 18:36miruritaNote Added: 0047981
2012-04-25 18:36miruritaStatusresolved => closed
2012-04-26 16:46umartirenaRelationship addedrelated to 0020105
2012-04-26 19:32hudsonbotCheckin
2012-04-26 19:32hudsonbotNote Added: 0048103
2012-04-26 19:32hudsonbotCheckin
2012-04-26 19:32hudsonbotNote Added: 0048104

Notes
(0047935)
dmiguelez   
2012-04-24 18:39   
(edited on: 2012-04-24 18:43)
Test Plan:

Login as Openbravo/openbravo

Go to Warehouse and Storage Bins.
Select the one with search key: EC
Move to Storage Bin tab.
Select the one with search key: ECC-0-0-0
Move to Bin Contents tab.
Realize that is not empty.
Move back to Warehouse tab and deactivate the previously selected warehouse.
Realize that a message is shown.

Create a Purchase Invoice for Organization: F&B US and Warehouse: US East Coast
Complete it.
Back in Warehouse and Storage Bin

Deactivate all Storage Bins except ECC-0-0-0.
Try to deactivate it and realize that a message appears.

(0047978)
hgbot   
2012-04-25 18:35   
Repository: erp/devel/pi
Changeset: 72795668d074ac2ffbcca837323de5e34cc9b889
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Apr 25 16:34:15 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/72795668d074ac2ffbcca837323de5e34cc9b889 [^]

Fixes issue 0020341, 20288: Adds a Callout to warn the user
when deactivating a Warehouse or an Storage Bin.

---
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
A src/org/openbravo/erpCommon/ad_callouts/SE_Locator_Activate.java
---
(0047979)
hgbot   
2012-04-25 18:35   
Repository: erp/devel/pi
Changeset: 0e26ae8cd9282c7edf08408baf0a217d9268d918
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Wed Apr 25 18:33:43 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0e26ae8cd9282c7edf08408baf0a217d9268d918 [^]

Related to issue 20341: remove extra parenthesis

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Locator_Activate.java
---
(0047981)
mirurita   
2012-04-25 18:36   
code review + testing OK
(0048103)
hudsonbot   
2012-04-26 19:32   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/70a717a9ffa1 [^]

Maturity status: Test
(0048104)
hudsonbot   
2012-04-26 19:32   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/70a717a9ffa1 [^]

Maturity status: Test