src-db/database/model/tables/AD_FIELDGROUP.xml
changeset 2323 696b6f8067e8
parent 2276 6f0fae641f4f
child 5551 7a30caea85b5
--- a/src-db/database/model/tables/AD_FIELDGROUP.xml	Mon Dec 15 09:55:05 2008 +0000
+++ b/src-db/database/model/tables/AD_FIELDGROUP.xml	Mon Dec 15 10:20:07 2008 +0000
@@ -39,7 +39,7 @@
       </column>
       <column name="AD_MODULE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
         <default><![CDATA[0]]></default>
-        <onCreateDefault><![CDATA[SELECT AD_MODULE_ID FROM AD_MODULE WHERE AD_MODULE_ID<>'0']]></onCreateDefault>
+        <onCreateDefault><![CDATA[SELECT AD_MODULE_ID FROM AD_MODULE WHERE AD_MODULE_ID<>'0' AND TYPE='M']]></onCreateDefault>
       </column>
       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_ADFIELDGROUP">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>