Author: jacopoc
Date: Thu Apr 3 22:51:46 2008
New Revision: 644616
URL:
http://svn.apache.org/viewvc?rev=644616&view=revLog:
Removed unnecessary (it is already done in the service def) and incorrect permission check; based on a bug report James Yong.
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml?rev=644616&r1=644615&r2=644616&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml Thu Apr 3 22:51:46 2008
@@ -128,9 +128,6 @@
<!-- GlJournal Trial Balance and Post routines -->
<simple-method method-name="calculateGlJournalTrialBalance" short-description="Calculate Trial Balance for a GlJournal">
- <check-permission permission="ACCOUNTING" action="_VIEW"><fail-message message="Security Error: to run calculateGlJournalTrialBalance you must have the ACCOUNTING_UPDATE or ACCOUNTING_ADMIN permission"/></check-permission>
- <check-errors/>
-
<!-- iterate through all AcctgTrans in this journal and that are not yet posted, and get totals of all debits and of all credits -->
<entity-condition entity-name="AcctgTrans" list-name="acctgTransList">
<condition-list combine="and">