Commit 04c5f72e authored by Aurel's avatar Aurel

proxify correctly contact listbox of person & organisation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44392 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 22a916ec
...@@ -89,6 +89,9 @@ ...@@ -89,6 +89,9 @@
<string>my_view_mode_person_listbox</string> <string>my_view_mode_person_listbox</string>
<string>my_view_mode_site</string> <string>my_view_mode_site</string>
<string>my_view_mode_group</string> <string>my_view_mode_group</string>
<string>my_view_mode_contact_listbox</string>
<string>my_view_mode_contact_listbox_int_index</string>
<string>my_view_mode_contact_listbox_title</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -10,18 +10,18 @@ ...@@ -10,18 +10,18 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>title</string>
<string>columns</string> <string>columns</string>
<string>sort</string>
<string>portal_types</string>
<string>editable_columns</string> <string>editable_columns</string>
<string>portal_types</string>
<string>sort</string>
<string>title</string>
<string>url_columns</string> <string>url_columns</string>
</list> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_contact_listbox</string> </value> <value> <string>my_view_mode_contact_listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewBaseFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_int_index</string> </value> <value> <string>my_view_mode_contact_listbox_int_index</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_title</string> </value> <value> <string>my_view_mode_contact_listbox_title</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
......
...@@ -83,11 +83,8 @@ ...@@ -83,11 +83,8 @@
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>my_contact_listbox</string>
<string>my_product_line_list</string> <string>my_product_line_list</string>
<string>my_title</string> <string>my_title</string>
<string>listbox_title</string>
<string>listbox_int_index</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -60,12 +60,6 @@ ...@@ -60,12 +60,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>list_action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -79,11 +73,11 @@ ...@@ -79,11 +73,11 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_contact_listbox</string> </value> <value> <string>my_view_mode_contact_listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Entity_viewFieldLibrary</string> </value> <value> <string>Base_viewBaseFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
...@@ -99,23 +93,4 @@ ...@@ -99,23 +93,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<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:\'Folder_viewContentList?\' + modules[\'ZTUtils\'].make_query(portal_type=[x[0] for x in field.get_value(\'portal_types\')])</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -77,11 +77,11 @@ ...@@ -77,11 +77,11 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>listbox_int_index</string> </value> <value> <string>my_view_mode_contact_listbox_int_index</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Entity_viewFieldLibrary</string> </value> <value> <string>Base_viewBaseFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
......
...@@ -77,11 +77,11 @@ ...@@ -77,11 +77,11 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>listbox_title</string> </value> <value> <string>my_view_mode_contact_listbox_title</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Entity_viewFieldLibrary</string> </value> <value> <string>Base_viewBaseFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
......
...@@ -77,15 +77,11 @@ ...@@ -77,15 +77,11 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_contact_listbox</string> </value> <value> <string>my_view_mode_contact_listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Entity_viewFieldLibrary</string> </value> <value> <string>Base_viewBaseFieldLibrary</string> </value>
</item>
<item>
<key> <string>lines</string> </key>
<value> <int>20</int> </value>
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
......
...@@ -77,11 +77,11 @@ ...@@ -77,11 +77,11 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>listbox_int_index</string> </value> <value> <string>my_view_mode_contact_listbox_int_index</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Entity_viewFieldLibrary</string> </value> <value> <string>Base_viewBaseFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
......
...@@ -77,11 +77,11 @@ ...@@ -77,11 +77,11 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>listbox_title</string> </value> <value> <string>my_view_mode_contact_listbox_title</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Entity_viewFieldLibrary</string> </value> <value> <string>Base_viewBaseFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
......
961 962
\ 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