Commit 49f8959f authored by Jérome Perrin's avatar Jérome Perrin

ProjectLine_viewDocumentList

fix listbox (like r16653 )
remove simulation_state field, doesn't make sense on lines

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16655 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 404e2898
...@@ -186,6 +186,10 @@ ...@@ -186,6 +186,10 @@
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>css_class</string> </key> <key> <string>css_class</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -251,9 +255,15 @@ ...@@ -251,9 +255,15 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>page_template</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>portal_types</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>report_root_list</string> </key> <key> <string>report_root_list</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -316,44 +326,7 @@ ...@@ -316,44 +326,7 @@
<item> <item>
<key> <string>all_columns</string> </key> <key> <string>all_columns</string> </key>
<value> <value>
<list> <list/>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>portal_type</string>
<string>Type</string>
</tuple>
<tuple>
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>short_title</string>
<string>Short Title</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>version</string>
<string>Version</string>
</tuple>
<tuple>
<string>int_index</string>
<string>Index</string>
</tuple>
<tuple>
<string>translated_simulation_state</string>
<string>State</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -388,11 +361,7 @@ ...@@ -388,11 +361,7 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>id</string> <string>translated_portal_type</string>
<string>ID</string>
</tuple>
<tuple>
<string>portal_type</string>
<string>Type</string> <string>Type</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -420,7 +389,7 @@ ...@@ -420,7 +389,7 @@
<string>Index</string> <string>Index</string>
</tuple> </tuple>
<tuple> <tuple>
<string>translated_simulation_state</string> <string>translated_simulation_state_title</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
</list> </list>
...@@ -441,7 +410,12 @@ ...@@ -441,7 +410,12 @@
<item> <item>
<key> <string>default_params</string> </key> <key> <string>default_params</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>checked_permission</string>
<string>View</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -497,7 +471,7 @@ ...@@ -497,7 +471,7 @@
<item> <item>
<key> <string>list_method</string> </key> <key> <string>list_method</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -513,44 +487,7 @@ ...@@ -513,44 +487,7 @@
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
<list> <list/>
<tuple>
<string>ImageDocument</string>
<string>ImageDocument</string>
</tuple>
<tuple>
<string>Presentation</string>
<string>Presentation</string>
</tuple>
<tuple>
<string>Text</string>
<string>Text</string>
</tuple>
<tuple>
<string>Spreadsheet</string>
<string>Spreadsheet</string>
</tuple>
<tuple>
<string>DMS File</string>
<string>DMS File</string>
</tuple>
<tuple>
<string>External Web Page</string>
<string>External Web Page</string>
</tuple>
<tuple>
<string>External Library File</string>
<string>External Library File</string>
</tuple>
<tuple>
<string>Graphic</string>
<string>Graphic</string>
</tuple>
<tuple>
<string>PdfDocument</string>
<string>PdfDocument</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -584,7 +521,7 @@ ...@@ -584,7 +521,7 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>project_document_0_selection</string> </value> <value> <string>project_line_document_selection</string> </value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
...@@ -630,6 +567,25 @@ ...@@ -630,6 +567,25 @@
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(t, t) for t in context.getPortalDocumentTypeList()]</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -643,7 +599,7 @@ ...@@ -643,7 +599,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>method_name</string> </key> <key> <string>method_name</string> </key>
<value> <string>getSourceProjectRelatedValueList</string> </value> <value> <string>getFollowUpRelatedValueList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.ProxyField</string>
<string>ProxyField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_translated_simulation_state_title</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>extra_context</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>extra_context</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>extra_context</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_translated_simulation_state_title</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>BaseTradeProject_FieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
302 303
\ 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