Fixed: reversed the debit and credit entries of the accounting transactions for
fixed asset depreciations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1781109 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/applications/accounting/minilang/ledger/GeneralLedgerServices.xml b/applications/accounting/minilang/ledger/GeneralLedgerServices.xml
index 554217a..9650a4a 100644
--- a/applications/accounting/minilang/ledger/GeneralLedgerServices.xml
+++ b/applications/accounting/minilang/ledger/GeneralLedgerServices.xml
@@ -403,7 +403,7 @@
<condition>
<and>
<not><if-empty field="fixedAssetTypeGlAccount.accDepGlAccountId"/></not>
- <if-compare field="parameters.debitCreditFlag" operator="equals" value="D"/>
+ <if-compare field="parameters.debitCreditFlag" operator="equals" value="C"/>
</and>
</condition>
<then>
@@ -415,7 +415,7 @@
<condition>
<and>
<not><if-empty field="fixedAssetTypeGlAccount.depGlAccountId"/></not>
- <if-compare field="parameters.debitCreditFlag" operator="equals" value="C"/>
+ <if-compare field="parameters.debitCreditFlag" operator="equals" value="D"/>
</and>
</condition>
<then>