Fix bug #837 Remove [+] button on external keys where it's not meaningful

+ button had been removed for all ExternalKey having a complex filter defined

SVN:trunk[2995]
This commit is contained in:
Erwan Taloc
2013-11-26 21:45:54 +00:00
parent e1087d3f87
commit 85472fe67a
10 changed files with 27 additions and 0 deletions

View File

@@ -105,6 +105,7 @@
<target_class>Person</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
<jointype/>
</field>
<field id="supervisor_email" xsi:type="AttributeExternalField">
@@ -133,6 +134,7 @@
<target_class>Person</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
<jointype/>
</field>
<field id="manager_email" xsi:type="AttributeExternalField">

View File

@@ -486,6 +486,7 @@
<target_class>Location</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="location_name" xsi:type="AttributeExternalField">
<extkey_attcode>location_id</extkey_attcode>
@@ -1523,6 +1524,7 @@
<target_class>Location</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="location_name" xsi:type="AttributeExternalField">
<extkey_attcode>location_id</extkey_attcode>
@@ -1936,6 +1938,7 @@
<target_class>Rack</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="rack_name" xsi:type="AttributeExternalField">
<extkey_attcode>rack_id</extkey_attcode>
@@ -1950,6 +1953,7 @@
<target_class>Enclosure</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="enclosure_name" xsi:type="AttributeExternalField">
<extkey_attcode>enclosure_id</extkey_attcode>
@@ -1974,6 +1978,7 @@
<target_class>PowerConnection</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="powerA_name" xsi:type="AttributeExternalField">
<extkey_attcode>powerA_id</extkey_attcode>
@@ -1988,6 +1993,7 @@
<target_class>PowerConnection</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="powerB_name" xsi:type="AttributeExternalField">
<extkey_attcode>powerB_id</extkey_attcode>
@@ -3154,6 +3160,7 @@
<target_class>FunctionalCI</target_class>
<is_null_allowed>false</is_null_allowed>
<on_target_delete>DEL_AUTO</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="system_name" xsi:type="AttributeExternalField">
<extkey_attcode>system_id</extkey_attcode>
@@ -3179,6 +3186,7 @@
<target_class>SoftwareLicence</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="softwarelicence_name" xsi:type="AttributeExternalField">
<extkey_attcode>softwarelicence_id</extkey_attcode>

View File

@@ -769,6 +769,7 @@
<target_class>Rack</target_class>
<is_null_allowed>false</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="rack_name" xsi:type="AttributeExternalField">
<extkey_attcode>rack_id</extkey_attcode>
@@ -783,6 +784,8 @@
<target_class>PowerConnection</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="powerstart_name" xsi:type="AttributeExternalField">
<extkey_attcode>powerstart_id</extkey_attcode>

View File

@@ -106,6 +106,7 @@
<target_class>Service</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="service_name" xsi:type="AttributeExternalField">
<extkey_attcode>service_id</extkey_attcode>
@@ -120,6 +121,7 @@
<target_class>ServiceSubcategory</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="servicesubcategory_name" xsi:type="AttributeExternalField">
<extkey_attcode>servicesubcategory_id</extkey_attcode>

View File

@@ -57,6 +57,7 @@
<target_class>Service</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="service_name" xsi:type="AttributeExternalField">
<extkey_attcode>service_id</extkey_attcode>
@@ -71,6 +72,7 @@
<target_class>ServiceSubcategory</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="servicesubcategory_name" xsi:type="AttributeExternalField">
<extkey_attcode>servicesubcategory_id</extkey_attcode>

View File

@@ -140,6 +140,7 @@
<target_class>Person</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="approver_email" xsi:type="AttributeExternalField">
<extkey_attcode>approver_id</extkey_attcode>
@@ -154,6 +155,7 @@
<target_class>Service</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="service_name" xsi:type="AttributeExternalField">
<extkey_attcode>service_id</extkey_attcode>
@@ -169,6 +171,7 @@
<target_class>ServiceSubcategory</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
<jointype/>
</field>
<field id="servicesubcategory_name" xsi:type="AttributeExternalField">

View File

@@ -135,6 +135,7 @@
<target_class>Person</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
<jointype/>
</field>
<field id="approver_email" xsi:type="AttributeExternalField">
@@ -151,6 +152,7 @@
<target_class>Service</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
<jointype/>
</field>
<field id="service_name" xsi:type="AttributeExternalField">
@@ -168,6 +170,7 @@
<target_class>ServiceSubcategory</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
<jointype/>
</field>
<field id="servicesubcategory_name" xsi:type="AttributeExternalField">

View File

@@ -36,6 +36,7 @@
<target_class>Team</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_AUTO</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
</fields>
</class>

View File

@@ -36,6 +36,7 @@
<target_class>Team</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_AUTO</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
</fields>
</class>

View File

@@ -82,6 +82,7 @@
<target_class>Person</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_AUTO</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="agent_name" xsi:type="AttributeExternalField">
<extkey_attcode>agent_id</extkey_attcode>
@@ -537,6 +538,7 @@
<target_class>Person</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="agent_email" xsi:type="AttributeExternalField">
<extkey_attcode>agent_id</extkey_attcode>