You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2014/07/17 12:59:42 UTC

svn commit: r1611322 - in /ofbiz/branches/release13.07: ./ applications/product/widget/catalog/ProductForms.xml applications/product/widget/catalog/ProductScreens.xml

Author: jacopoc
Date: Thu Jul 17 10:59:42 2014
New Revision: 1611322

URL: http://svn.apache.org/r1611322
Log:
Applied fix from trunk for revision: 1611321 
===

This reverts most of the changes committed in rev.951013 for OFBIZ-3802 because they caused a few issues as reported in the same Jira ticket.


Modified:
    ofbiz/branches/release13.07/   (props changed)
    ofbiz/branches/release13.07/applications/product/widget/catalog/ProductForms.xml
    ofbiz/branches/release13.07/applications/product/widget/catalog/ProductScreens.xml

Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1611321

Modified: ofbiz/branches/release13.07/applications/product/widget/catalog/ProductForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/product/widget/catalog/ProductForms.xml?rev=1611322&r1=1611321&r2=1611322&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/product/widget/catalog/ProductForms.xml (original)
+++ ofbiz/branches/release13.07/applications/product/widget/catalog/ProductForms.xml Thu Jul 17 10:59:42 2014
@@ -925,17 +925,8 @@ under the License.
         <field use-when="supplierProduct == null" name="submitButton" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field>
         <field use-when="supplierProduct != null" name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
     </form>
-    <form name="ListSupplierProducts" type="list" target="updateSupplierProduct" title="" list-name="listIt"
+    <form name="ListSupplierProducts" type="list" target="updateSupplierProduct" title="" list-name="productSuppliers"
         odd-row-style="alternate-row" default-table-style="basic-table">
-        <actions>
-            <service service-name="performFind" result-map="result" result-map-list="listIt">
-                <field-map field-name="inputFields" from-field="requestParameters"/>
-                <field-map field-name="entityName" value="SupplierProduct"/>
-                <field-map field-name="orderBy" from-field="parameters.sortField"/>
-                <field-map field-name="viewIndex" from-field="viewIndex"/>
-                <field-map field-name="viewSize" from-field="viewSize"/>
-            </service>
-        </actions>
         <field name="partyId" title="${uiLabelMap.ProductSupplier}">
             <display-entity entity-name="PartyNameView" also-hidden="true" description="${firstName} ${middleName} ${lastName} ${groupName}">
                 <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${partyId}" link-style="buttontext">
@@ -945,10 +936,10 @@ under the License.
         </field>
         <field name="supplierProductId"><display/></field>
         <field name="minimumOrderQuantity" title="${uiLabelMap.ProductMinimumOrderQuantity}" sort-field="true">
-            <display type="date-time"/>
+            <display/>
         </field>
         <field name="orderQtyIncrements" title="${uiLabelMap.ProductOrderQtyIncrements}" sort-field="true">
-            <display type="date-time"/>
+            <display/>
         </field>
         <field name="supplierPrefOrderId">
             <display-entity entity-name="SupplierPrefOrder"/>

Modified: ofbiz/branches/release13.07/applications/product/widget/catalog/ProductScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/product/widget/catalog/ProductScreens.xml?rev=1611322&r1=1611321&r2=1611322&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/product/widget/catalog/ProductScreens.xml (original)
+++ ofbiz/branches/release13.07/applications/product/widget/catalog/ProductScreens.xml Thu Jul 17 10:59:42 2014
@@ -854,7 +854,11 @@ under the License.
 
                 <!-- default currency in framework/common/config/general.properties -->
                 <property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
-
+                <set field="orderBy" from-field="parameters.sortField" default-value="partyId"/>
+                <entity-and entity-name="SupplierProduct" list="productSuppliers">
+                    <field-map field-name="productId" from-field="parameters.productId"/>
+                    <order-by field-name="${orderBy}"/>
+                </entity-and>
                 <entity-one entity-name="SupplierProduct" value-field="supplierProduct" auto-field-map="true"/>
             </actions>
             <widgets>