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

no need to return the price in a string, we should use a float field to do the formatting

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22797 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ee047a95
......@@ -77,12 +77,6 @@ line_list = context.PaySheetTransaction_getMovementList(sort_on=[(\'int_index\',
def addProperties(line, line_dict, property_list):\n
for property in property_list:\n
line_dict[property] = getattr(line, property, None)\n
\n
#XXX this is a hack wich should be removed when the OOoTemplate will be\n
# rewireted\n
if line_dict[property] is not None and property in (\'employee_share_price\',\n
\'employer_share_price\'):\n
line_dict[property] = \'%s %%\' % (float(line_dict[property])*100)\n
return line_dict\n
\n
line_dict_list = []\n
......
311
\ No newline at end of file
312
\ 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