diff --git a/src/org/openbravo/erpCommon/ad_actionButton/Posted.java b/src/org/openbravo/erpCommon/ad_actionButton/Posted.java
--- a/src/org/openbravo/erpCommon/ad_actionButton/Posted.java
+++ b/src/org/openbravo/erpCommon/ad_actionButton/Posted.java
@@ -99,13 +99,17 @@
             printPageClosePopUp(response, vars);
           } else {
             String title;
-            OBContext.setAdminMode();
-            Process genLedJour = OBDal.getInstance().get(Process.class,
-                generalLedgerJournalReport_ID);
-            if (genLedJour != null) {
-              title = genLedJour.getIdentifier();
-            } else {
-              title = "POST";
+            try {
+              OBContext.setAdminMode(true);
+              Process genLedJour = OBDal.getInstance().get(Process.class,
+                  generalLedgerJournalReport_ID);
+              if (genLedJour != null) {
+                title = genLedJour.getIdentifier();
+              } else {
+                title = "POST";
+              }
+            } finally {
+              OBContext.restorePreviousMode();
             }
             printPageClosePopUp(response, vars, strDireccion
                 + "/ad_reports/ReportGeneralLedgerJournal.html?Command=DIRECT&inpTable="
@@ -127,13 +131,17 @@
             printPageClosePopUp(response, vars);
           } else {
             String title;
-            OBContext.setAdminMode();
-            Process genLedJour = OBDal.getInstance().get(Process.class,
-                generalLedgerJournalReport_ID);
-            if (genLedJour != null) {
-              title = genLedJour.getIdentifier();
-            } else {
-              title = "POST";
+            try {
+              OBContext.setAdminMode(true);
+              Process genLedJour = OBDal.getInstance().get(Process.class,
+                  generalLedgerJournalReport_ID);
+              if (genLedJour != null) {
+                title = genLedJour.getIdentifier();
+              } else {
+                title = "POST";
+              }
+            } finally {
+              OBContext.restorePreviousMode();
             }
             printPageClosePopUp(response, vars, strDireccion
                 + "/ad_reports/ReportGeneralLedgerJournal.html?Command=DIRECT&inpTable="
diff --git a/src/org/openbravo/erpCommon/ad_forms/AcctServer.java b/src/org/openbravo/erpCommon/ad_forms/AcctServer.java
--- a/src/org/openbravo/erpCommon/ad_forms/AcctServer.java
+++ b/src/org/openbravo/erpCommon/ad_forms/AcctServer.java
@@ -965,6 +965,10 @@
   } // loadDocument
 
   public void loadDocumentType() {
+    loadDocumentType(false);
+  }
+
+  public void loadDocumentType(boolean supressWarnings) {
     // if (log4j.isDebugEnabled())
     // log4j.debug("AcctServer - loadDocumentType - DocumentType: " +
     // DocumentType + " - C_DocType_ID : " + C_DocType_ID);
@@ -986,8 +990,9 @@
           IsReturn = data[0].isreturn;
         }
       }
-      if (DocumentType != null && DocumentType.equals(""))
+      if (!supressWarnings && DocumentType != null && DocumentType.equals("")) {
         log4j.warn("AcctServer - loadDocumentType - No DocType for GL Info");
+      }
       if (GL_Category_ID != null && GL_Category_ID.equals("")) {
         AcctServerData[] data = AcctServerData.selectDefaultGLCategory(connectionProvider,
             AD_Client_ID);
@@ -2464,7 +2469,7 @@
   boolean disableDocumentConfirmation() {
     C_DocType_ID = objectFieldProvider[0].getField("cDoctypeId");
     if ("".equals(DocumentType)) {
-      loadDocumentType();
+      loadDocumentType(true);
     }
     OBContext.setAdminMode();
     try {
