Author: lektran
Date: Sun Jul 25 07:34:49 2010
New Revision: 978996
URL:
http://svn.apache.org/viewvc?rev=978996&view=revLog:
Fix bug reported by Pierre Smits in OFBIZ-3823, the PartyRoleAndContactMechDetail required at least one ContactMech before a Party would show up in the view. Changed to make the ContactMech stuff optional.
Modified:
ofbiz/trunk/applications/party/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/party/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitymodel.xml?rev=978996&r1=978995&r2=978996&view=diff==============================================================================
--- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Sun Jul 25 07:34:49 2010
@@ -2599,10 +2599,10 @@ under the License.
<view-link entity-alias="PR" rel-entity-alias="RT">
<key-map field-name="roleTypeId"/>
</view-link>
- <view-link entity-alias="PTY" rel-entity-alias="PCM">
+ <view-link entity-alias="PTY" rel-entity-alias="PCM" rel-optional="true">
<key-map field-name="partyId"/>
</view-link>
- <view-link entity-alias="PCM" rel-entity-alias="CM">
+ <view-link entity-alias="PCM" rel-entity-alias="CM" rel-optional="true">
<key-map field-name="contactMechId"/>
</view-link>
<view-link entity-alias="PCM" rel-entity-alias="PA" rel-optional="true">