From ced8f09c09d6b1774a734335b5a7ae1850e50143 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 6 Jun 2007 08:42:52 +0000
Subject: [PATCH] fix the use of accessor for is_credit_account property on
 accounts.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14705 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_accounting/AccountModule_getNormalBalance.xml          | 2 +-
 bt5/erp5_accounting/bt/revision                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getNormalBalance.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getNormalBalance.xml
index 105b4d3f13..74f8813bb7 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getNormalBalance.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getNormalBalance.xml
@@ -70,7 +70,7 @@
             <key> <string>_body</string> </key>
             <value> <string>total = context.AccountModule_getBalance(brain=brain, selection=selection, **kw)\n
 account = brain.getObject()\n
-if account.getIsCreditAccount():\n
+if account.isCreditAccount():\n
   total = - total\n
 return total\n
 </string> </value>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 871cae9aa6..5f1a9f39c2 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-323
\ No newline at end of file
+324
\ No newline at end of file
-- 
GitLab