Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002600Openbravo ERP04. Warehouse managementpublic2008-02-07 21:292008-07-03 17:33
user71 
cromero 
normalminoralways
closedfixed 
5
 
2.40beta 
No
Core
No
0002600: Warehouse combobox in valuate stock report
There is an error in the organization filter applied by default in warehouse combobox in valuation stock report.
The organization filter that is applied in ComboTableData class creation is wrong (ReportValuationStock.java).
No tags attached.
depends on backport 0003641 closed cromero Warehouse combobox in valuate stock report 
Issue History
2008-07-03 17:33plujanStatusresolved => closed
2008-07-03 17:33plujanFixed in Version2.40alpha-r2 => 2.40beta

Notes
(0006189)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1889053 [^]
(0003161)
user71   
2008-02-07 21:33   
(edited on: 2008-06-12 09:24)
Logged In: YES
user_id=1500670
Originator: YES

I think that the solution is change the following:
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "M_Warehouse_ID", "M_Warehouse of Client", "", Utility.getContext(this, vars, "#User_Client",""), Utility.getContext(this, vars, "#AD_Client_ID", ""), 0);

and put:

ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "M_Warehouse_ID", "M_Warehouse of Client", "", Utility.getContext(this, vars, "#User_Org",""), Utility.getContext(this, vars, "#User_Client", ""), 0);
(0003162)
cromero   
2008-02-25 14:00   
(edited on: 2008-06-12 09:24)
Logged In: YES
user_id=1500614
Originator: NO

Done in revision 2528