svn commit: r1756365 - /ofbiz/trunk/applications/datamodel/entitydef/party-entitymodel.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1756365 - /ofbiz/trunk/applications/datamodel/entitydef/party-entitymodel.xml

jleroux@apache.org
Author: jleroux
Date: Mon Aug 15 09:52:25 2016
New Revision: 1756365

URL: http://svn.apache.org/viewvc?rev=1756365&view=rev
Log:
A modified patch from Pierre Smits for "Have view-entity AgreementAndRole removed" https://issues.apache.org/jira/browse/OFBIZ-5994

Modified:
    ofbiz/trunk/applications/datamodel/entitydef/party-entitymodel.xml

Modified: ofbiz/trunk/applications/datamodel/entitydef/party-entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/datamodel/entitydef/party-entitymodel.xml?rev=1756365&r1=1756364&r2=1756365&view=diff
==============================================================================
--- ofbiz/trunk/applications/datamodel/entitydef/party-entitymodel.xml (original)
+++ ofbiz/trunk/applications/datamodel/entitydef/party-entitymodel.xml Mon Aug 15 09:52:25 2016
@@ -566,50 +566,6 @@ under the License.
             <key-map field-name="agreementId"/>
         </view-link>
     </view-entity>
-    <view-entity entity-name="AgreementAndRole"
-        package-name="org.apache.ofbiz.party.agreement"
-        title="Agreement and AgreementRole View Entity">
-        <member-entity entity-alias="AGR" entity-name="Agreement"/>
-        <member-entity entity-alias="AR" entity-name="AgreementRole"/>
-        <alias-all entity-alias="AGR"/>
-        <alias-all entity-alias="AR"/>
-        <view-link entity-alias="AGR" rel-entity-alias="AR">
-            <key-map field-name="agreementId"/>
-        </view-link>
-        <relation type="one-nofk" rel-entity-name="Party">
-            <key-map field-name="partyId"/>
-        </relation>
-        <relation type="one-nofk" rel-entity-name="RoleType">
-            <key-map field-name="roleTypeId"/>
-        </relation>
-        <relation type="one-nofk" rel-entity-name="PartyRole">
-            <key-map field-name="partyId"/>
-            <key-map field-name="roleTypeId"/>
-        </relation>
-        <relation type="one-nofk" title="To" rel-entity-name="Party">
-            <key-map field-name="partyIdTo" rel-field-name="partyId"/>
-        </relation>
-        <relation type="one-nofk" title="To" rel-entity-name="RoleType">
-            <key-map field-name="roleTypeIdTo" rel-field-name="roleTypeId"/>
-        </relation>
-        <relation type="one-nofk" title="To" rel-entity-name="PartyRole">
-            <key-map field-name="partyIdTo" rel-field-name="partyId"/>
-            <key-map field-name="roleTypeIdTo" rel-field-name="roleTypeId"/>
-        </relation>
-        <relation type="one-nofk" title="From" rel-entity-name="Party">
-            <key-map field-name="partyIdFrom" rel-field-name="partyId"/>
-        </relation>
-        <relation type="one-nofk" title="From" rel-entity-name="RoleType">
-            <key-map field-name="roleTypeIdFrom" rel-field-name="roleTypeId"/>
-        </relation>
-        <relation type="one-nofk" title="From" rel-entity-name="PartyRole">
-            <key-map field-name="partyIdFrom" rel-field-name="partyId"/>
-            <key-map field-name="roleTypeIdFrom" rel-field-name="roleTypeId"/>
-        </relation>
-        <relation type="many" rel-entity-name="AgreementRole">
-            <key-map field-name="agreementId"/>
-        </relation>
-    </view-entity>
 
   <!-- ========================================================= -->
   <!-- org.apache.ofbiz.party.communication -->