Author: lektran
Date: Sat Apr  3 05:20:58 2010
New Revision: 930477

URL: http://svn.apache.org/viewvc?rev=930477&view=rev
Log:
EditProduct's quantityUomId drop down should display all UomTypes except 
CURRENCY_MEASURE, bug reported by Len Shein on the user list

Modified:
    ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml

Modified: ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml?rev=930477&r1=930476&r2=930477&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml Sat Apr  3 
05:20:58 2010
@@ -171,7 +171,7 @@ under the License.
         <field position="2" name="quantityUomId" 
title="${uiLabelMap.ProductQuantityUomId}">
             <drop-down allow-empty="true" 
no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}">
                 <entity-options key-field-name="uomId" 
description="${description} - ${abbreviation}" entity-name="Uom">
-                    <entity-constraint name="uomTypeId" operator="equals" 
value="CURRENCY_MEASURE"/>
+                    <entity-constraint name="uomTypeId" operator="not-equals" 
value="CURRENCY_MEASURE"/>
                     <entity-order-by field-name="description"/>
                 </entity-options>
             </drop-down>
@@ -2006,4 +2006,4 @@ under the License.
     <form name="EditCommEvent" extends="EditCommEvent" 
extends-resource="component://party/widget/partymgr/CommunicationEventForms.xml">
         <field name="productId" map-name="parameters"><hidden/></field>
     </form>
- </forms>
\ No newline at end of file
+ </forms>


Reply via email to