Commit 8bc73db2 authored by Kevin Deldycke's avatar Kevin Deldycke

Fix default warning message displaying in Account_getGapItemList.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7630 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0068f892
...@@ -84,7 +84,7 @@ def sort(x,y):\n ...@@ -84,7 +84,7 @@ def sort(x,y):\n
\n \n
gap_root = context.portal_preferences.getPreferredAccountingTransactionGap() \n gap_root = context.portal_preferences.getPreferredAccountingTransactionGap() \n
if gap_root is None:\n if gap_root is None:\n
return [(\'\', \'Set Preferred GAP In preferences !\')]\n return [(\'Set Preferred GAP In preferences !\', \'\')]\n
\n \n
def getGapItemList(gap_root, portal_path): \n def getGapItemList(gap_root, portal_path): \n
obj = context.portal_categories.resolveCategory(gap_root)\n obj = context.portal_categories.resolveCategory(gap_root)\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