fixed bug 0009291: Some pop-up process called from buttons in the application do not work
authorAsier Lostalé <asier.lostale@openbravo.com>
Tue, 02 Jun 2009 13:06:21 +0200
changeset 3946 ce482f6efadb
parent 3945 02f5d14bcacb
child 3947 63742ab2b748
fixed bug 0009291: Some pop-up process called from buttons in the application do not work
src-wad/src/org/openbravo/wad/Fields_data.xsql
--- a/src-wad/src/org/openbravo/wad/Fields_data.xsql	Tue Jun 02 11:49:10 2009 +0200
+++ b/src-wad/src/org/openbravo/wad/Fields_data.xsql	Tue Jun 02 13:06:21 2009 +0200
@@ -479,7 +479,7 @@
       FROM ad_column, ad_process, ad_field
       where ad_column.ad_process_id = ad_process.ad_process_id 
       and ad_column.ad_column_id = ad_field.ad_column_id  
-      AND (ad_process.procedurename is null 
+      AND (ad_process.procedurename is not null 
            or ad_process.isjasper = 'Y'
            or (UIPattern='S' AND EXISTS (SELECT 1 FROM AD_MODEL_OBJECT WHERE AD_PROCESS_ID = AD_PROCESS.AD_PROCESS_ID))) 
       and ad_column.columnname not in('DocAction', 'PaymentRule') 
@@ -502,7 +502,7 @@
       FROM ad_column, ad_process, ad_field, ad_system_info si
       where ad_column.ad_process_id = ad_process.ad_process_id 
       and ad_column.ad_column_id = ad_field.ad_column_id 
-      AND (ad_process.procedurename is null 
+      AND (ad_process.procedurename is not null 
            or ad_process.isjasper = 'Y'
            or (UIPattern='S' AND EXISTS (SELECT 1 FROM AD_MODEL_OBJECT WHERE AD_PROCESS_ID = AD_PROCESS.AD_PROCESS_ID)))
       and ad_column.columnname not in('DocAction', 'PaymentRule')