Commit 6e3183a0 authored by Kevin Deldycke's avatar Kevin Deldycke

Don't create empty lines when the closing balance is generated.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7646 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0b084862
......@@ -154,6 +154,7 @@ for account in account_list:\n
) or 0.0\n
\n
# Create the transaction line for this third party\n
if tp_balance != 0.0:\n
closing_transaction.newContent( portal_type = \'Accounting Transaction Line\'\n
, source_value = account\n
, quantity = tp_balance\n
......
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