This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 79c991e Fixed: Invalid Currency symbol in income statement csv export (OFBIZ-12108) 79c991e is described below commit 79c991e7f8418b7a9f601b6cb29d997789b8f780 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Sun Mar 28 13:25:25 2021 +0200 Fixed: Invalid Currency symbol in income statement csv export (OFBIZ-12108) 1. Navigate to URL: accounting/control/IncomeStatement?organizationPartyId=Company 2. In income statement section click on export as csv button. 3. The exported csv has correct balance but with invalid currency symbol. 4. On screen USD $ symbol is shown and in csv some other currency symbol is shown. Thanks: Lalit Dashora for report, Praveen Sharma for the fix --- applications/accounting/widget/ReportFinancialSummaryScreens.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/applications/accounting/widget/ReportFinancialSummaryScreens.xml b/applications/accounting/widget/ReportFinancialSummaryScreens.xml index 79ab50b..f34caba 100644 --- a/applications/accounting/widget/ReportFinancialSummaryScreens.xml +++ b/applications/accounting/widget/ReportFinancialSummaryScreens.xml @@ -891,6 +891,11 @@ under the License. <set field="fromDate" from-field="parameters.fromDate" type="Timestamp"/> <set field="thruDate" from-field="parameters.thruDate" type="Timestamp"/> <set field="glFiscalTypeId" from-field="parameters.glFiscalTypeId" default-value="ACTUAL"/> + <service service-name="getPartyAccountingPreferences" result-map="result"> + <field-map field-name="organizationPartyId" value="${groovy:parameters.get('ApplicationDecorator|organizationPartyId')}"/> + </service> + <set field="partyAcctgPreference" from-field="result.partyAccountingPreference"/> + <set field="currencyUomId" from-field="partyAcctgPreference.baseCurrencyUomId"/> <script location="component://accounting/groovyScripts/reports/IncomeStatement.groovy"/> </actions> <widgets>