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

portal_preferences.getPreferredAccountingTransactionGap() can return None

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34501 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3467fb4e
......@@ -658,7 +658,7 @@ if not per_account_class_summary:\n
return line_list\n
\n
current_gap = selected_gap or \\\n
portal.portal_preferences.getPreferredAccountingTransactionGap()\n
portal.portal_preferences.getPreferredAccountingTransactionGap() or \'\'\n
if current_gap.startswith(\'gap/\'):\n
current_gap = current_gap[4:]\n
def getAccountClass(account_relative_url):\n
......
1167
\ No newline at end of file
1168
\ 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