Author: lektran Date: Tue Sep 22 11:33:11 2009 New Revision: 817605 URL: http://svn.apache.org/viewvc?rev=817605&view=rev Log: Added three new fields to the Product entity: productWeight productDiameter diameterUomId
Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel.xml?rev=817605&r1=817604&r2=817605&view=diff ============================================================================== --- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original) +++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Tue Sep 22 11:33:11 2009 @@ -2594,7 +2594,8 @@ <field name="fixedAmount" type="currency-amount"><description>Use this for products which are sold in fixed denominations, such as gift certificates or calling cards.</description></field> <field name="amountUomTypeId" type="id"></field> <field name="weightUomId" type="id"></field> - <field name="weight" type="fixed-point"></field> + <field name="weight" type="fixed-point"><description>The shipping weight of the product.</description></field> + <field name="productWeight" type="fixed-point"></field> <field name="heightUomId" type="id"></field> <field name="productHeight" type="fixed-point"></field> <field name="shippingHeight" type="fixed-point"></field> @@ -2604,6 +2605,8 @@ <field name="depthUomId" type="id"></field> <field name="productDepth" type="fixed-point"></field> <field name="shippingDepth" type="fixed-point"></field> + <field name="diameterUomId" type="id"></field> + <field name="productDiameter" type="fixed-point"></field> <field name="productRating" type="fixed-point"></field> <field name="ratingTypeEnum" type="id"></field> <field name="returnable" type="indicator"></field> @@ -2661,6 +2664,9 @@ <relation type="one" fk-name="PROD_DEPTH_UOM" title="Depth" rel-entity-name="Uom"> <key-map field-name="depthUomId" rel-field-name="uomId"/> </relation> + <relation type="one" fk-name="PROD_DIAMTR_UOM" title="Diameter" rel-entity-name="Uom"> + <key-map field-name="diameterUomId" rel-field-name="uomId"/> + </relation> <relation type="one" fk-name="PROD_VVMETHOD_ENUM" title="VitualVariant Method" rel-entity-name="Enumeration"> <key-map field-name="virtualVariantMethodEnum" rel-field-name="enumId"/> </relation>