Commit ced8f09c authored by Jérome Perrin's avatar Jérome Perrin

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
parent 35faf4a6
......@@ -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>
......
323
\ No newline at end of file
324
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment