Fixed issue 24699.Add read only and disply logics to fields in product.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Thu, 05 Sep 2013 17:33:33 +0200
changeset 21087 6522c822ca55
parent 21086 208c8406036f
child 21088 1f55c40cadb9
Fixed issue 24699.Add read only and disply logics to fields in product.
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_FIELD.xml
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Thu Sep 05 12:18:56 2013 +0200
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Thu Sep 05 17:33:33 2013 +0200
@@ -313466,6 +313466,7 @@
 <!--D7192114A6A5B6B7E040007F01001270-->  <ISPARENT><![CDATA[N]]></ISPARENT>
 <!--D7192114A6A5B6B7E040007F01001270-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
 <!--D7192114A6A5B6B7E040007F01001270-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--D7192114A6A5B6B7E040007F01001270-->  <READONLYLOGIC><![CDATA[@Generic_Product_ID@!'']]></READONLYLOGIC>
 <!--D7192114A6A5B6B7E040007F01001270-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
 <!--D7192114A6A5B6B7E040007F01001270-->  <SEQNO><![CDATA[430]]></SEQNO>
 <!--D7192114A6A5B6B7E040007F01001270-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
--- a/src-db/database/sourcedata/AD_FIELD.xml	Thu Sep 05 12:18:56 2013 +0200
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Thu Sep 05 17:33:33 2013 +0200
@@ -269245,6 +269245,7 @@
 <!--D71921761B37AFB9E040007F01001265-->  <AD_COLUMN_ID><![CDATA[D7192114A6A5B6B7E040007F01001270]]></AD_COLUMN_ID>
 <!--D71921761B37AFB9E040007F01001265-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
 <!--D71921761B37AFB9E040007F01001265-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--D71921761B37AFB9E040007F01001265-->  <DISPLAYLOGIC><![CDATA[@Generic_Product_ID@='']]></DISPLAYLOGIC>
 <!--D71921761B37AFB9E040007F01001265-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
 <!--D71921761B37AFB9E040007F01001265-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
 <!--D71921761B37AFB9E040007F01001265-->  <SEQNO><![CDATA[75]]></SEQNO>
@@ -269275,7 +269276,7 @@
 <!--D71921761B38AFB9E040007F01001265-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--D71921761B38AFB9E040007F01001265-->  <DISPLAYLOGIC><![CDATA[@isgeneric@='N']]></DISPLAYLOGIC>
 <!--D71921761B38AFB9E040007F01001265-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
-<!--D71921761B38AFB9E040007F01001265-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--D71921761B38AFB9E040007F01001265-->  <ISREADONLY><![CDATA[Y]]></ISREADONLY>
 <!--D71921761B38AFB9E040007F01001265-->  <SEQNO><![CDATA[95]]></SEQNO>
 <!--D71921761B38AFB9E040007F01001265-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--D71921761B38AFB9E040007F01001265-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>