details:   /erp/devel/pi/rev/53e2c2b7a0aa
changeset: 6450:53e2c2b7a0aa
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Wed Feb 17 16:57:18 2010 +0100
summary:   fixed bug 11113: Number of changes pending is not correct on 
upgrading

diffstat:

 src/org/openbravo/erpCommon/ad_forms/ModuleManagement_data.xsql |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r a3591dda3f70 -r 53e2c2b7a0aa 
src/org/openbravo/erpCommon/ad_forms/ModuleManagement_data.xsql
--- a/src/org/openbravo/erpCommon/ad_forms/ModuleManagement_data.xsql   Wed Feb 
17 20:30:13 2010 +0530
+++ b/src/org/openbravo/erpCommon/ad_forms/ModuleManagement_data.xsql   Wed Feb 
17 16:57:18 2010 +0100
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008-2009 Openbravo SL 
+ * All portions are Copyright (C) 2008-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -74,11 +74,11 @@
       <SqlMethodComment></SqlMethodComment>
       <Sql>
          SELECT COUNT(*) AS TOTAL
-           FROM (SELECT 1 
+           FROM (SELECT AD_MODULE_ID 
                    FROM AD_MODULE 
                   WHERE STATUS IN ('I','U','P')
-                  UNION ALL
-                 SELECT 1
+                  UNION
+                 SELECT AD_MODULE_ID
                    FROM AD_MODULE_INSTALL) A
       </Sql>
    </SqlMethod>

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to