Author: jleroux
Date: Fri Nov 6 00:44:33 2009
New Revision: 833264
URL:
http://svn.apache.org/viewvc?rev=833264&view=revLog:
Revert r833113 & r833116 and remove title="Geo Point" as initially suggested by Erwan at
https://issues.apache.org/jira/browse/OFBIZ-3153Modified:
ofbiz/trunk/applications/party/entitydef/entitymodel.xml
ofbiz/trunk/applications/product/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=833264&r1=833263&r2=833264&view=diff==============================================================================
--- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Fri Nov 6 00:44:33 2009
@@ -1171,7 +1171,7 @@
<relation type="one" fk-name="POST_ADDR_PCGEO" title="PostalCode" rel-entity-name="Geo">
<key-map field-name="postalCodeGeoId" rel-field-name="geoId"/>
</relation>
- <relation type="many" fk-name="POST_ADDR_GEOPT" title="Point" rel-entity-name="GeoPoint"> <!-- because of the elevation field in GeoPoint we may face a many relationship in future -->
+ <relation type="one" fk-name="POST_ADDR_GEOPT" rel-entity-name="GeoPoint">
<key-map field-name="geoPointId"/>
</relation>
<index name="ADDRESS1_IDX">
Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel.xml?rev=833264&r1=833263&r2=833264&view=diff==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Fri Nov 6 00:44:33 2009
@@ -1026,7 +1026,7 @@
<relation type="many" rel-entity-name="FacilityTypeAttr">
<key-map field-name="facilityTypeId"/>
</relation>
- <relation type="many" fk-name="FACILITY_GEOPT" title="Point" rel-entity-name="GeoPoint"> <!-- because of the elevation field in GeoPoint we may face a many relationship in future -->
+ <relation type="one" fk-name="FACILITY_GEOPT" rel-entity-name="GeoPoint">
<key-map field-name="geoPointId"/>
</relation>
</entity>