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 ...@@ -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 #XXX this is a hack wich should be removed when the OOoTemplate will be\n
# rewireted\n # rewireted\n
if line_dict[property] is not None and property.endswith(\'_price\'):\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 return line_dict\n
\n \n
line_dict_list = []\n line_dict_list = []\n
......
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
<value> <value>
<list> <list>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -74,6 +75,14 @@ ...@@ -74,6 +75,14 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_specialise_title_list</string>
</list>
</value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
......
...@@ -97,6 +97,10 @@ ...@@ -97,6 +97,10 @@
<string>title</string> <string>title</string>
<string>Title</string> <string>Title</string>
</tuple> </tuple>
<tuple>
<string>specialise_title_list</string>
<string>Model Inheritance</string>
</tuple>
<tuple> <tuple>
<string>description</string> <string>description</string>
<string>Description</string> <string>Description</string>
...@@ -148,6 +152,10 @@ ...@@ -148,6 +152,10 @@
<string>title</string> <string>title</string>
<string>Title</string> <string>Title</string>
</tuple> </tuple>
<tuple>
<string>specialise_title_list</string>
<string>Model Inheritance</string>
</tuple>
<tuple> <tuple>
<string>description</string> <string>description</string>
<string>Description</string> <string>Description</string>
...@@ -194,6 +202,10 @@ ...@@ -194,6 +202,10 @@
<string>title</string> <string>title</string>
<string>Title</string> <string>Title</string>
</tuple> </tuple>
<tuple>
<string>specialise_title_list</string>
<string>Model Inheritance</string>
</tuple>
<tuple> <tuple>
<string>description</string> <string>description</string>
<string>Description</string> <string>Description</string>
......
193 195
\ No newline at end of file \ 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