Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021550Openbravo ERP02. Master data managementpublic2012-09-05 10:472012-09-27 16:46
jecharri 
jecharri 
highmajoralways
closedfixed 
5
pi 
3.0MP16 
xabiermerino
Google Chrome
Core
No
0021550: You can select wrong 'Storage Bin' in tab 'Manufacturing' inside the window 'Product'
You can select wrong "Storage Bin" in tab "Manufacturing" inside the window "Product".

As "Admin" go to window "Product":
-select one product that is defined for org "*"
-Got to tab "Manufacturing" and create a record.
-Choose organization "F&B España, S.A.".
-Push in "Storage Bin" selector and you will see that you can select all storage bins
It will be necessary to verify that it is a global solution

diff --git a/src/org/openbravo/erpCommon/info/Locator.java b/src/org/openbravo/erpCommon/info/Locator.java
--- a/src/org/openbravo/erpCommon/info/Locator.java
+++ b/src/org/openbravo/erpCommon/info/Locator.java
@@ -69,6 +69,7 @@
       strWarehouse = strWarehouse + "%";
       vars.setSessionValue("Locator.name", strName);
       vars.setSessionValue("Locator.warehousename", strWarehouse);
+ vars.getGlobalVariable("inpadOrgId", "Locator.adorgid", "");
       printPage(response, vars, strName, strWarehouse);
     } else if (vars.commandIn("KEY")) {
       removePageSessionVariables(vars);
@@ -109,7 +110,7 @@
       String strPageSize = vars.getStringParameter("page_size");
       String strSortCols = vars.getInStringParameter("sort_cols", columnFilter);
       String strSortDirs = vars.getInStringParameter("sort_dirs", directionFilter);
- String strOrg = vars.getGlobalVariable("inpAD_Org_ID", "Locator.adorgid", "");
+ String strOrg = vars.getGlobalVariable("inpadOrgId", "Locator.adorgid", "");
       printGridData(response, vars, strName, strWarehousename, strAisle, strBin, strLevel,
           strSortCols, strSortDirs, strOffset, strPageSize, strNewFilter, strOrg);
     } else
No tags attached.
related to defect 00226273.0MP20 closed pramakrishnan The Locator selector of Create Lines From shows wrong Storage bins 
Issue History
2012-09-05 10:47jecharriNew Issue
2012-09-05 10:47jecharriAssigned To => mirurita
2012-09-05 10:47jecharriWeb browser => Google Chrome
2012-09-05 10:47jecharriModules => Core
2012-09-05 10:47jecharriResolution time => 1349733600
2012-09-05 17:48jonalegriaesarteAssigned Tomirurita => jecharri
2012-09-17 18:19hgbotCheckin
2012-09-17 18:19hgbotNote Added: 0052176
2012-09-17 18:19hgbotStatusnew => resolved
2012-09-17 18:19hgbotResolutionopen => fixed
2012-09-17 18:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/06e1886fd04d93ae2643908711b7e1404a1e41c1 [^]
2012-09-17 18:29jecharriNote Added: 0052177
2012-09-26 17:19hudsonbotCheckin
2012-09-26 17:19hudsonbotNote Added: 0052775
2012-09-27 16:46xabiermerinoClosed by => xabiermerino
2012-09-27 16:46xabiermerinoNote Added: 0052842
2012-09-27 16:46xabiermerinoStatusresolved => closed
2012-12-19 10:25ngarciaRelationship addedrelated to 0022627

Notes
(0052176)
hgbot   
2012-09-17 18:19   
Repository: erp/devel/pi
Changeset: 06e1886fd04d93ae2643908711b7e1404a1e41c1
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Mon Sep 17 18:18:41 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/06e1886fd04d93ae2643908711b7e1404a1e41c1 [^]

Fixes issue 21550: You can select wrong 'Storage Bin'
in tab 'Manufacturing' inside the window 'Product'

---
M src/org/openbravo/erpCommon/info/Locator.html
M src/org/openbravo/erpCommon/info/Locator.java
M src/org/openbravo/erpCommon/info/Locator.xml
---
(0052177)
jecharri   
2012-09-17 18:29   
Test plan:
-Steps to reproduce
---------------------------------
As "Admin" go to window "Product":
-select one product that is defined for org "*"
-Got to tab "Manufacturing" and create a record.
-Choose organization "F&B España, S.A.".
-Push in "Storage Bin" selector and you will see only accesible bins. Norte y Sur
-Clean filter and push in search --> verify that it does not change nothing
---------------------------------
Verify the same behaviour in windows where storage bin selector is used
(0052775)
hudsonbot   
2012-09-26 17:19   
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/b780e90c6452 [^]

Maturity status: Test
(0052842)
xabiermerino   
2012-09-27 16:46   
verified