Author: apatel
Date: Tue Nov 10 02:52:07 2009
New Revision: 834313
URL:
http://svn.apache.org/viewvc?rev=834313&view=revLog:
Fix duplicate fk-name error.
Modified:
ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml?rev=834313&r1=834312&r2=834313&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Tue Nov 10 02:52:07 2009
@@ -1550,7 +1550,7 @@
<relation type="many" rel-entity-name="InvoiceItem">
<key-map field-name="invoiceId"/>
</relation>
- <relation type="one" fk-name="INVOICE_STTSITM" rel-entity-name="StatusItem">
+ <relation type="one-nofk" rel-entity-name="StatusItem">
<key-map field-name="statusId"/>
</relation>
<relation type="many" rel-entity-name="PaymentApplication">
@@ -2766,10 +2766,10 @@
<view-link entity-alias="PY" rel-entity-alias="SI">
<key-map field-name="statusId"/>
</view-link>
- <relation type="one" fk-name="PAYMENT_PMTYP" rel-entity-name="PaymentType">
+ <relation type="one-nofk" rel-entity-name="PaymentType">
<key-map field-name="paymentTypeId"/>
</relation>
- <relation type="one" fk-name="PAYMENT_PMETH_TP" rel-entity-name="PaymentMethodType">
+ <relation type="one-nofk" rel-entity-name="PaymentMethodType">
<key-map field-name="paymentMethodTypeId"/>
</relation>
</view-entity>