[jira] [Commented] (OFBIZ-5752) Adding Uom to product quantity in production run forms

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5752) Adding Uom to product quantity in production run forms

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276225#comment-14276225 ]

Pierre Smits commented on OFBIZ-5752:
-------------------------------------

I see different approaches applied in various forms.

{code:xml}
<row-actions>
<entity-one entity-name="Product" value-field="product"/>
<set field="productUom" value="${product.quantityUomId}"/>
</row-actions>

<field name="quantityUomId" entry-name="productUom" title="UoM">
<display-entity entity-name="Uom" key-field-name="uomId" description="${abbreviation}"/>
</field>
{code}

And
{code:xml}
<row-actions>
<script location="component://product/webapp/catalog/WEB-INF/actions/product/GetProductQuantityUomId.groovy"/>
</row-actions>

<field name="quantityUomId">
<display-entity entity-name="Uom" key-field-name="uomId" description="${abbreviation}"/>
</field>
{code}

Basically it is about choosing the approach that suits us best, and then apply it everywhere where applicable.

> Adding Uom to product quantity in production run forms
> ------------------------------------------------------
>
>                 Key: OFBIZ-5752
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5752
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: manufacturing, product
>    Affects Versions: Release Branch 13.07, Trunk
>            Reporter: Guillaume Sigoigne
>            Assignee: Nicolas Malin
>            Priority: Trivial
>         Attachments: Show-Uom-Quantity-13.07.patch, Show-Uom-Quantity-trunk.patch
>
>
> When a production run has components, forms show quantity of each component, but not their uom description.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)