Author: ashish
Date: Sat May 21 13:18:56 2016
New Revision: 1744937
URL:
http://svn.apache.org/viewvc?rev=1744937&view=revLog:
Applied patch from jira issue - OFBIZ-5289 - Show quantityUom in production runs.
Thanks Pierre for creating the issue and Thanks Akshay and Yashwant for the patch.
Modified:
ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
ofbiz/trunk/applications/product/config/ProductUiLabels.xml
Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml?rev=1744937&r1=1744936&r2=1744937&view=diff==============================================================================
--- ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml (original)
+++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml Sat May 21 13:18:56 2016
@@ -100,6 +100,12 @@ under the License.
<field-map field-name="orderBy" value="estimatedStartDate"/>
</service>
</actions>
+ <row-actions>
+ <entity-one value-field="product" entity-name="Product"/>
+ <entity-one value-field="uom" entity-name="Uom">
+ <field-map field-name="uomId" from-field="product.quantityUomId"/>
+ </entity-one>
+ </row-actions>
<field name="workEffortId" title=" " widget-style="buttontext">
<hyperlink target="ShowProductionRun" description="${workEffortId}" also-hidden="false">
<parameter param-name="productionRunId" from-field="workEffortId"/>
@@ -108,6 +114,7 @@ under the License.
<field name="workEffortName" title="${uiLabelMap.ManufacturingProductionRunName}"><display/></field>
<field name="productId" title="${uiLabelMap.ProductProductId}"><display/></field>
<field name="estimatedQuantity" title="${uiLabelMap.ManufacturingQuantity}"><display/></field>
+ <field name="QuantityUom" title="${uiLabelMap.ProductQuantityUom}"><display description="${uom.abbreviation}"></display></field>
<field name="currentStatusId" title="${uiLabelMap.CommonStatus}">
<display-entity entity-name="StatusItem" key-field-name="statusId"/>
</field>
Modified: ofbiz/trunk/applications/product/config/ProductUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/config/ProductUiLabels.xml?rev=1744937&r1=1744936&r2=1744937&view=diff==============================================================================
--- ofbiz/trunk/applications/product/config/ProductUiLabels.xml (original)
+++ ofbiz/trunk/applications/product/config/ProductUiLabels.xml Sat May 21 13:18:56 2016
@@ -26590,6 +26590,9 @@
<value xml:lang="zh">è¦è½¬è¿çæ°é</value>
<value xml:lang="zh-TW">è¦è½éçæ¸é</value>
</property>
+ <property key="ProductQuantityUom">
+ <value xml:lang="en">Quantity Uom</value>
+ </property>
<property key="ProductQuantityUomId">
<value xml:lang="de">Menge Einheit ID</value>
<value xml:lang="en">Quantity UomId</value>