Fixes issue 0018110: Try-2.50-api failed because two foreign keys has been removed. Related to issue 18099
authorAdrián Romero <adrianromero@openbravo.com>
Thu, 28 Jul 2011 10:19:01 +0200
changeset 221 fe875614d260
parent 220 d05d1565ed87
child 222 4664ec4ce3ab
Fixes issue 0018110: Try-2.50-api failed because two foreign keys has been removed. Related to issue 18099
model/model/tables/I_ORDER.xml
--- a/model/model/tables/I_ORDER.xml	Tue Jun 07 12:25:33 2011 +0200
+++ b/model/model/tables/I_ORDER.xml	Thu Jul 28 10:19:01 2011 +0200
@@ -311,9 +311,6 @@
       <foreign-key foreignTable="C_ACTIVITY" name="I_ORDER_C_ACTIVITY">
         <reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_BPARTNER" name="I_ORDER_C_BPARTNER">
-        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
-      </foreign-key>
       <foreign-key foreignTable="C_BPARTNER_LOCATION" name="I_ORDER_C_BPARTNER_LOCATION">
         <reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
       </foreign-key>
@@ -359,9 +356,6 @@
       <foreign-key foreignTable="M_PRICELIST" name="I_ORDER_M_PRICELIST">
         <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="M_PRODUCT" name="I_ORDER_M_PRODUCT">
-        <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
-      </foreign-key>
       <foreign-key foreignTable="M_SHIPPER" name="I_ORDER_M_SHIPPER">
         <reference local="M_SHIPPER_ID" foreign="M_SHIPPER_ID"/>
       </foreign-key>