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

Nicolas Malin commented on OFBIZ-5752:
--------------------------------------

Hello Guillaume (ça farte)

I reviewed your patch and my remarks is the result is fine but isn't a good way 
to store in the context your description on quantityUomId field. It's better to 
use a dedicate name like quantityUomDesc.

But (because they are another but !) why don't use direclty this 
{code}
+        <row-actions>
+            <entity-one entity-name="Product" value-name="product" 
use-cache="true"/>
+        </row-actions>
....
+        <field name="quantityUomId" map-name="product"><display-entity 
entity-name="Uom" key-field-name="uomId"/></field>
{code}

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

Reply via email to