You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2010/04/03 07:20:59 UTC

svn commit: r930477 - /ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml

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>



Re: svn commit: r930477 - /ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml

Posted by Scott Gray <sc...@hotwaxmedia.com>.
On 2/04/2010, at 11:57 PM, Jacopo Cappellato wrote:

> 
> On Apr 3, 2010, at 7:20 AM, lektran@apache.org wrote:
> 
>> 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}">
> 
> Shouldn't we also change the above line?
> 
> Jacopo

Thanks Jacopo, got it in r930481

Regards
Scott

Re: svn commit: r930477 - /ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml

Posted by Jacopo Cappellato <ja...@hotwaxmedia.com>.
On Apr 3, 2010, at 7:20 AM, lektran@apache.org wrote:

> 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}">

Shouldn't we also change the above line?

Jacopo

>                 <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>
> 
>