Commit b2700898 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_accounting: return title as str in getProjectItemList

parent 82f4aa07
......@@ -21,7 +21,7 @@ if context.getPortalType() == 'Accounting Transaction Module':
if not project_list:
return [] # returning an empty list, not to add project column on reports
return [('', ''), (translateString('No Project'), 'None')] + project_list
return [('', ''), (str(translateString('No Project')), 'None')] + project_list
# case 2: script is used on custom listfields.
# for now the script has to be customized in such case.
......
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