Fix bug #835 Remove dependency between ticket and Delivery model

SVN:trunk[2994]
This commit is contained in:
Erwan Taloc
2013-11-26 21:19:11 +00:00
parent e789c6baec
commit e1087d3f87
5 changed files with 30 additions and 6 deletions

View File

@@ -64,10 +64,6 @@
<target_attcode>name</target_attcode>
</field>
<field id="team_id" xsi:type="AttributeExternalKey">
<filter><![CDATA[SELECT Team AS t JOIN lnkDeliveryModelToContact AS l1 ON l1.contact_id=t.id JOIN DeliveryModel AS dm ON l1.deliverymodel_id=dm.id JOIN Organization AS o ON o.deliverymodel_id=dm.id WHERE o.id = :this->org_id]]></filter>
<dependencies>
<attribute id="org_id"/>
</dependencies>
<sql>team_id</sql>
<target_class>Team</target_class>
<is_null_allowed>true</is_null_allowed>