Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0003641Openbravo ERP04. Warehouse managementpublic2008-02-25 14:012008-06-12 09:44
cromero 
cromero 
normalminoralways
closedfixed 
5
 
 
No
Core
No
0003641: Warehouse combobox in valuate stock report
Related to:
0002600

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).

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);
No tags attached.
blocks defect 0002600 closed cromero Warehouse combobox in valuate stock report 
Issue History

Notes
(0007230)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:44)
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=1901342 [^]
(0004097)
cromero   
2008-02-25 14:16   
(edited on: 2008-06-12 09:27)
Logged In: YES
user_id=1500614
Originator: YES

Fixed since revision 2529