svn commit: r1744890 - /ofbiz/branches/release14.12/applications/accounting/widget/ReportFinancialSummaryForms.xml

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

svn commit: r1744890 - /ofbiz/branches/release14.12/applications/accounting/widget/ReportFinancialSummaryForms.xml

ashish-18
Author: ashish
Date: Sat May 21 10:26:05 2016
New Revision: 1744890

URL: http://svn.apache.org/viewvc?rev=1744890&view=rev
Log:
Applied fix from trunk r1744888.
===========================================================
Applied patch from jira issue - OFBIZ-5288 - Show quantityUom in InventoryValuation Report.
Thanks Ravi for the contribution and thanks Pierre for creating the issue.
===========================================================

Modified:
    ofbiz/branches/release14.12/applications/accounting/widget/ReportFinancialSummaryForms.xml

Modified: ofbiz/branches/release14.12/applications/accounting/widget/ReportFinancialSummaryForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/accounting/widget/ReportFinancialSummaryForms.xml?rev=1744890&r1=1744889&r2=1744890&view=diff
==============================================================================
--- ofbiz/branches/release14.12/applications/accounting/widget/ReportFinancialSummaryForms.xml (original)
+++ ofbiz/branches/release14.12/applications/accounting/widget/ReportFinancialSummaryForms.xml Sat May 21 10:26:05 2016
@@ -520,9 +520,16 @@ under the License.
                 <select-field field-name="accountingQuantitySum"/>
             </entity-condition>
         </actions>
+        <row-actions>
+            <entity-one entity-name="Product" value-field="product">
+                <field-map field-name="productId"/>
+            </entity-one>
+            <get-related-one relation-name="QuantityUom" to-value-field="uom" value-field="product"/>
+            <set field="quantityUom" from-field="uom.abbreviation" default-value="${uom.uomId}"/>
+        </row-actions>
         <field name="productId"><display/></field>
         <field name="unitCost" widget-style="tabletextright"><display currency="${currencyUomId}" type="currency"/></field>
-        <field name="accountingQuantitySum" widget-style="tabletextright"><display/></field>
+        <field name="accountingQuantitySum" widget-style="tabletextright"><display description="${accountingQuantitySum} ${quantityUom}"/></field>
         <field name="value" widget-style="tabletextright"><display description="${accountingQuantitySum * unitCost}" currency="${currencyUomId}" type="currency"/></field>
     </form>