Author: arunpatidar
Date: Fri Jul 1 13:03:32 2016
New Revision: 1750922
URL:
http://svn.apache.org/viewvc?rev=1750922&view=revLog:
Applied patch from jira issue - OFBIZ-6638 -TrialBalance PDF export fails. Thanks Rohit Koushal for your contribution.
Modified:
ofbiz/trunk/specialpurpose/birt/webapp/accounting/reports/TrialBalance.rptdesign
Modified: ofbiz/trunk/specialpurpose/birt/webapp/accounting/reports/TrialBalance.rptdesign
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/birt/webapp/accounting/reports/TrialBalance.rptdesign?rev=1750922&r1=1750921&r2=1750922&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/birt/webapp/accounting/reports/TrialBalance.rptdesign (original)
+++ ofbiz/trunk/specialpurpose/birt/webapp/accounting/reports/TrialBalance.rptdesign Fri Jul 1 13:03:32 2016
@@ -22,6 +22,7 @@ under the License.
<property name="units">in</property>
<method name="initialize"><![CDATA[
importPackage(Packages.org.ofbiz.base.util)
+importPackage(Packages.java.util)
importPackage(Packages.org.ofbiz.entity.condition)
importPackage(Packages.org.ofbiz.entity.util)
@@ -65,7 +66,7 @@ context.put("parties", parties);
context.put("delegator", delegator);
context.put("dispatcher", dispatcher);
context.put("userLogin", userLogin);
-GroovyUtil.runScriptAtLocation("component://accounting/groovyScripts/reports/TrialBalance.groovy", context);
+GroovyUtil.runScriptAtLocation("component://accounting/groovyScripts/reports/TrialBalance.groovy", null, context);
partyNameList = context.partyNameList;
// get grand totoal posted