> Author: jleroux
> Date: Thu Nov 5 18:26:27 2009
> New Revision: 833113
>
> URL:
http://svn.apache.org/viewvc?rev=833113&view=rev> Log:
> Change "Geo Point" title to "Point"
> Change the type of relation for Postal Address to GeoPoint from one
> to many. Because of the elevation field in GeoPoint. A bit scifi for
> now, but maybe useful one day...)
> Thanks to a discussion with Erwan "Relation title not needed on
> Facility entity" at
https://issues.apache.org/jira/browse/OFBIZ-3153
> - OFBIZ-3153
>
> Modified:
> 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=833113&r1=833112&r2=833113&view=diff> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- ofbiz/trunk/applications/party/entitydef/entitymodel.xml
> (original)
> +++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Thu
> Nov 5 18:26:27 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="one" fk-name="POST_ADDR_GEOPT" title="Geo
> Point" rel-entity-name="GeoPoint">
> + <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 -->
> <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=833113&r1=833112&r2=833113&view=diff> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- ofbiz/trunk/applications/product/entitydef/entitymodel.xml
> (original)
> +++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Thu
> Nov 5 18:26:27 2009
> @@ -1026,7 +1026,7 @@
> <relation type="many" rel-entity-name="FacilityTypeAttr">
> <key-map field-name="facilityTypeId"/>
> </relation>
> - <relation type="one" fk-name="FACILITY_GEOPT" title="Geo
> Point" rel-entity-name="GeoPoint">
> + <relation type="one" fk-name="FACILITY_GEOPT" title="Point"
> rel-entity-name="GeoPoint">
> <key-map field-name="geoPointId"/>
> </relation>
> </entity>
>
>