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>
......
...@@ -90,13 +90,17 @@ ...@@ -90,13 +90,17 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
<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>
...@@ -141,13 +145,17 @@ ...@@ -141,13 +145,17 @@
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>search_columns</string> </key> <key> <string>search_columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
<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>
...@@ -172,11 +180,11 @@ ...@@ -172,11 +180,11 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>paysheet_model_selection</string> </value> <value> <string>paysheet_model_selection</string> </value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -187,13 +195,17 @@ ...@@ -187,13 +195,17 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>sort_columns</string> </key> <key> <string>sort_columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
<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>
...@@ -222,7 +234,7 @@ ...@@ -222,7 +234,7 @@
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Contents</string> </value> <value> <string>Contents</string> </value>
</item> </item>
<item> <item>
......
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