Commit 31dee15f authored by Fabien Morin's avatar Fabien Morin

- forget to multiply by 100 the displayed percentage

- add a "Model Inheritance" column in PaySheetModelModule_viewPaySheetModelList listbox

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18348 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6b132070
......@@ -81,7 +81,7 @@ def addProperties(line, line_dict, property_list):\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.endswith(\'_price\'):\n
line_dict[property] = \'%s %%\' % line_dict[property]\n
line_dict[property] = \'%s %%\' % (float(line_dict[property])*100)\n
return line_dict\n
\n
line_dict_list = []\n
......
......@@ -59,6 +59,7 @@
<value>
<list>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -74,6 +75,14 @@
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_specialise_title_list</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
......
......@@ -97,6 +97,10 @@
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>specialise_title_list</string>
<string>Model Inheritance</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
......@@ -148,6 +152,10 @@
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>specialise_title_list</string>
<string>Model Inheritance</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
......@@ -194,6 +202,10 @@
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>specialise_title_list</string>
<string>Model Inheritance</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
......
193
\ No newline at end of file
195
\ 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