Commit be6a5097 authored by Rafael Monnerat's avatar Rafael Monnerat

added proxy listboxes for some relation fields

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22749 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3e80fb4d
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<value> <value>
<tuple> <tuple>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>None</string> <string>None</string>
</tuple> </tuple>
</value> </value>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
<string>base_category</string> <string>base_category</string>
<string>portal_type</string> <string>portal_type</string>
<string>catalog_index</string> <string>catalog_index</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -101,10 +102,6 @@ ...@@ -101,10 +102,6 @@
<key> <string>catalog_index</string> </key> <key> <string>catalog_index</string> </key>
<value> <string>title</string> </value> <value> <string>title</string> </value>
</item> </item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_multi_relation_field</string> </value> <value> <string>my_multi_relation_field</string> </value>
...@@ -128,6 +125,21 @@ ...@@ -128,6 +125,21 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>PersonModule_viewPersonList/listbox</string>
<string>Person View</string>
</tuple>
<tuple>
<string>OrganisationModule_viewOrganisationList/listbox</string>
<string>Organisation View</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<string>Products.ERP5Form.ProxyField</string> <tuple/>
<string>ProxyField</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -20,6 +17,7 @@ ...@@ -20,6 +17,7 @@
<string>base_category</string> <string>base_category</string>
<string>portal_type</string> <string>portal_type</string>
<string>catalog_index</string> <string>catalog_index</string>
<string>proxy_listbox_ids</string>
<string>editable</string> <string>editable</string>
</list> </list>
</value> </value>
...@@ -136,6 +134,21 @@ ...@@ -136,6 +134,21 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>PersonModule_viewPersonList/listbox</string>
<string>Person View</string>
</tuple>
<tuple>
<string>OrganisationModule_viewOrganisationList/listbox</string>
<string>Organisation View</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
<string>kw</string> <string>kw</string>
<string>_apply_</string> <string>_apply_</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -151,11 +151,11 @@ ...@@ -151,11 +151,11 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>List of all events related to the follow up ticket</string> </value> <value> <string>List of all events related to the follow up ticket</string> </value>
</item> </item>
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -182,13 +182,13 @@ ...@@ -182,13 +182,13 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>list_method</string> </key> <key> <string>list_method</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -215,11 +215,11 @@ ...@@ -215,11 +215,11 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>ticket_view_selection</string> </value> <value> <string>ticket_view_selection</string> </value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -234,7 +234,7 @@ ...@@ -234,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>Events</string> </value> <value> <string>Events</string> </value>
</item> </item>
</dictionary> </dictionary>
......
...@@ -13,10 +13,12 @@ ...@@ -13,10 +13,12 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>catalog_index</string>
<string>title</string> <string>title</string>
<string>portal_type</string> <string>description</string>
<string>base_category</string> <string>base_category</string>
<string>portal_type</string>
<string>catalog_index</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -108,6 +110,17 @@ ...@@ -108,6 +110,17 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>PersonModule_viewPersonList/listbox</string>
<string>Person View</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,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>Reference</string> </value> <value> <string>Reference</string> </value>
</item> </item>
</dictionary> </dictionary>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
<string>base_category</string> <string>base_category</string>
<string>portal_type</string> <string>portal_type</string>
<string>catalog_index</string> <string>catalog_index</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -78,11 +79,11 @@ ...@@ -78,11 +79,11 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>base_category</string> </key> <key> <string>base_category</string> </key>
<value> <string>source_decision</string> </value> <value> <string>source_decision</string> </value>
</item> </item>
<item> <item>
<key> <string>catalog_index</string> </key> <key> <string>catalog_index</string> </key>
<value> <string>title</string> </value> <value> <string>title</string> </value>
</item> </item>
<item> <item>
...@@ -98,7 +99,7 @@ ...@@ -98,7 +99,7 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -112,12 +113,27 @@ ...@@ -112,12 +113,27 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>PersonModule_viewPersonList/listbox</string>
<string>Person View</string>
</tuple>
<tuple>
<string>OrganisationModule_viewOrganisationList/listbox</string>
<string>Organisation View</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<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>Supervisor</string> </value> <value> <string>Supervisor</string> </value>
</item> </item>
</dictionary> </dictionary>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<string>Products.ERP5Form.ProxyField</string> <tuple/>
<string>ProxyField</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -20,6 +17,7 @@ ...@@ -20,6 +17,7 @@
<string>base_category</string> <string>base_category</string>
<string>portal_type</string> <string>portal_type</string>
<string>catalog_index</string> <string>catalog_index</string>
<string>proxy_listbox_ids</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -107,6 +105,17 @@ ...@@ -107,6 +105,17 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>PersonModule_viewPersonList/listbox</string>
<string>Person View</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
......
284 287
\ 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