28620: Button reference is not displayed properly in parameter windows
authorInigo Sanchez <inigo.sanchez@openbravo.com>
Wed, 25 Feb 2015 18:18:59 +0100
changeset 26076 05e90afd7678
parent 26075 0b5b6b950341
child 26077 46a20957f70c
28620: Button reference is not displayed properly in parameter windows

Button reference is not displayed properly in parameter windows, currently
in the User Interface a checkbox is drawn (like in the Yes/No reference).

Now, It is already possible to add new buttons to Process Definition by using
the "ButtonList" reference. So, the solution for this issue has been to remove
the "Button" reference from the list of references that can be assigned
for the parameters.
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_VAL_RULE.xml
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml	Wed Feb 25 14:55:59 2015 +0100
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml	Wed Feb 25 18:18:59 2015 +0100
@@ -5388,6 +5388,7 @@
 <!--927DA01A83373AFAE040A8C0CF072B85-->  <AD_TABLE_ID><![CDATA[30123B1001FC4E82BB4CB9725E069B48]]></AD_TABLE_ID>
 <!--927DA01A83373AFAE040A8C0CF072B85-->  <AD_REFERENCE_ID><![CDATA[18]]></AD_REFERENCE_ID>
 <!--927DA01A83373AFAE040A8C0CF072B85-->  <AD_REFERENCE_VALUE_ID><![CDATA[1]]></AD_REFERENCE_VALUE_ID>
+<!--927DA01A83373AFAE040A8C0CF072B85-->  <AD_VAL_RULE_ID><![CDATA[F03C17E0C2C4414BA7AD5DDF6E7BD18F]]></AD_VAL_RULE_ID>
 <!--927DA01A83373AFAE040A8C0CF072B85-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
 <!--927DA01A83373AFAE040A8C0CF072B85-->  <ISKEY><![CDATA[N]]></ISKEY>
 <!--927DA01A83373AFAE040A8C0CF072B85-->  <ISPARENT><![CDATA[N]]></ISPARENT>
--- a/src-db/database/sourcedata/AD_VAL_RULE.xml	Wed Feb 25 14:55:59 2015 +0100
+++ b/src-db/database/sourcedata/AD_VAL_RULE.xml	Wed Feb 25 18:18:59 2015 +0100
@@ -2319,6 +2319,18 @@
 <!--E2D591AAE44F42A3964A07DC49C6AB84-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--E2D591AAE44F42A3964A07DC49C6AB84--></AD_VAL_RULE>
 
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F--><AD_VAL_RULE>
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F-->  <AD_VAL_RULE_ID><![CDATA[F03C17E0C2C4414BA7AD5DDF6E7BD18F]]></AD_VAL_RULE_ID>
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F-->  <NAME><![CDATA[Validation for Reference parameters in Process Definition]]></NAME>
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F-->  <DESCRIPTION><![CDATA[Validation for Reference parameters in Process Definition: NOT button reference]]></DESCRIPTION>
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F-->  <TYPE><![CDATA[S]]></TYPE>
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F-->  <CODE><![CDATA[AD_Reference.AD_Reference_ID <> '28']]></CODE>
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--F03C17E0C2C4414BA7AD5DDF6E7BD18F--></AD_VAL_RULE>
+
 <!--F5C1AEE7CA3D4EF690406695F212E463--><AD_VAL_RULE>
 <!--F5C1AEE7CA3D4EF690406695F212E463-->  <AD_VAL_RULE_ID><![CDATA[F5C1AEE7CA3D4EF690406695F212E463]]></AD_VAL_RULE_ID>
 <!--F5C1AEE7CA3D4EF690406695F212E463-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>