You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/03/16 13:18:05 UTC

svn commit: r1787176 - /ofbiz/ofbiz-framework/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml

Author: jleroux
Date: Thu Mar 16 13:18:05 2017
New Revision: 1787176

URL: http://svn.apache.org/viewvc?rev=1787176&view=rev
Log:
Fixed: Error in accounting report inventory valuation with through date with 
an empty value.
(OFBIZ-9265)

Go to https://localhost:8443/accounting/control/InventoryValuation and clear 
the Through Date, we get an error. 
The provided patch fixes this by setting the default thruDate to now.


Thanks: Francis Douet

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml?rev=1787176&r1=1787175&r2=1787176&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml Thu Mar 16 13:18:05 2017
@@ -1313,6 +1313,7 @@ under the License.
                 <set field="labelTitleProperty" value="AccountingInventoryValuation"/>
                 <set field="tabButtonItem" value="OrganizationAccountingReports"/>
                 <set field="tabButtonItem2" value="InventoryValuation"/>
+                <set field="parameters.thruDate" from-field="parameters.thruDate" type="Timestamp" default-value="${nowTimestamp}"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonOrganizationAccountingReportsDecorator" location="${parameters.mainDecoratorLocation}">