Fixes Issue 9242: When entering in the Generl Ledger Journal report the report shouldn't be executed automatically
authorDavid Alsasua <david.alsasua@openbravo.com>
Mon, 01 Jun 2009 15:03:16 +0200
changeset 3936 293f0540a1cd
parent 3935 f67e2d4161a9
child 3937 5ea129735572
Fixes Issue 9242: When entering in the Generl Ledger Journal report the report shouldn't be executed automatically
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java	Mon Jun 01 10:59:24 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java	Mon Jun 01 15:03:16 2009 +0200
@@ -196,7 +196,7 @@
     ToolBar toolbar = new ToolBar(this, vars.getLanguage(), "ReportGeneralLedgerJournal", false,
         "", "", "imprimir();return false;", false, "ad_reports", strReplaceWith, false, true);
     toolbar.setEmail(false);
-    if (vars.commandIn("DEFAULT", "FIND")) {
+    if (vars.commandIn("FIND")) {
       String strCheck = buildCheck(strShowClosing, strShowReg, strShowOpening);
       String strTreeOrg = ReportGeneralLedgerJournalData.treeOrg(this, vars.getClient());
       String strOrgFamily = getFamily(strTreeOrg, strOrg);