Fixes bug 25797: Void status appers when completing a gl journal
authorEduardo Argal Guibert <eduardo.argal@openbravo.com>
Tue, 15 Apr 2014 12:35:28 +0200
changeset 22919 3b5ab481e397
parent 22918 6e62b57f0f36
child 22920 983d21838275
Fixes bug 25797: Void status appers when completing a gl journal
src/org/openbravo/erpCommon/ad_actionButton/ActionButtonUtility.java
--- a/src/org/openbravo/erpCommon/ad_actionButton/ActionButtonUtility.java	Tue Apr 15 09:59:24 2014 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ActionButtonUtility.java	Tue Apr 15 12:35:28 2014 +0200
@@ -103,7 +103,8 @@
       } else if (strDocStatus.equals("DR") || strDocStatus.equals("IP")) {
         data1.setData("ID", "CO");
         v.addElement(data1);
-        if (!strTable.equals("319") && !strTable.equals("800212") && !isQuotation) {
+        if (!strTable.equals("319") && !strTable.equals("800212") && !isQuotation
+            && !"224".equals(strTable)) {
           data1 = new SQLReturnObject();
           data1.setData("ID", "VO");
           v.addElement(data1);