[OFBiz] SVN: r7813 - in trunk/applications/product: webapp/catalog/product widget/catalog

jacopo@svn.ofbiz.org jacopo at svn.ofbiz.org
Sat Jun 17 23:46:29 CDT 2006


Author: jacopo
Date: 2006-06-17 23:46:20 -0500 (Sat, 17 Jun 2006)
New Revision: 7813

Modified:
   trunk/applications/product/webapp/catalog/product/ProductForms.xml
   trunk/applications/product/widget/catalog/ProductScreens.xml
Log:
Added drop down boxes to the edit SupplierProduct form.

Modified: trunk/applications/product/webapp/catalog/product/ProductForms.xml
===================================================================
--- trunk/applications/product/webapp/catalog/product/ProductForms.xml	2006-06-18 04:44:56 UTC (rev 7812)
+++ trunk/applications/product/webapp/catalog/product/ProductForms.xml	2006-06-18 04:46:20 UTC (rev 7813)
@@ -550,6 +550,20 @@
                 </entity-options>
             </drop-down>
         </field>
+        <field name="supplierPrefOrderId">
+            <drop-down allow-empty="true">
+                <entity-options entity-name="SupplierPrefOrder" key-field-name="supplierPrefOrderId" description="${description}">
+                    <entity-order-by field-name="supplierPrefOrderId"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="supplierRatingTypeId">
+            <drop-down allow-empty="true">
+                <entity-options entity-name="SupplierRatingType" key-field-name="supplierRatingTypeId" description="${description}">
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
         <field name="quantityUomId" title="${uiLabelMap.ProductQuantityUomId}">
             <drop-down allow-empty="true">
                 <entity-options entity-name="UomType" key-field-name="uomTypeId" description="${description}">
@@ -574,7 +588,6 @@
             default-table-style="boxoutside" even-row-style="viewManyTR2" odd-row-style="viewManyTR1"
             header-row-style="boxtop">
         <!--<auto-fields-service service-name="updateSupplierProduct"/>-->
-
         <field name="partyId" title="${uiLabelMap.ProductSupplier}" widget-style="tabletext"
             header-link="EditProductSuppliers?productId=${productId}&amp;orderBy=partyId" header-link-style="buttontext">
             <display-entity entity-name="PartyNameView" also-hidden="true" description="${firstName} ${middleName} ${lastName} ${groupName}">

Modified: trunk/applications/product/widget/catalog/ProductScreens.xml
===================================================================
--- trunk/applications/product/widget/catalog/ProductScreens.xml	2006-06-18 04:44:56 UTC (rev 7812)
+++ trunk/applications/product/widget/catalog/ProductScreens.xml	2006-06-18 04:46:20 UTC (rev 7813)
@@ -563,6 +563,8 @@
                 <property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD" />
 
                 <set field="productId" from-field="parameters.productId"/>
+                <set field="minimumOrderQuantity" from-field="parameters.minimumOrderQuantity" type="Double"/>
+
                 <set field="orderBy" from-field="parameters.orderBy" default-value="partyId"/>
                 <entity-one entity-name="Product" value-name="product"/>
                 <entity-and entity-name="SupplierProduct" list-name="productSuppliers">
@@ -677,7 +679,8 @@
             </widgets>
         </section>
     </screen>
-    <screen name="EditProductAssocExperimental">
+    <!--
+    <screen name="EditProductAssoc">
         <section>
             <actions>
                 <set field="titleProperty" value="PageTitleEditProductAssociations"/>
@@ -705,6 +708,7 @@
             </widgets>
         </section>
     </screen>
+    -->
     <screen name="createVirtualWithVariantsForm">
         <section>
             <actions>



More information about the Svn mailing list