Commit eadfcdd2 authored by Jérome Perrin's avatar Jérome Perrin

PDM: use the same proxy field for all resource module listboxes

Some compatibility is kept
parent 345de486
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<global name="ERP5 Form" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -195,6 +195,9 @@
<string>my_view_mode_version</string>
<string>my_view_mode_listbox_read_only_start_date_range_min</string>
<string>my_view_mode_listbox_read_only_start_date_range_max</string>
<string>my_view_mode_resource_module_listbox</string>
<string>listbox_purchase_supply_line_destination_account</string>
<string>listbox_sale_supply_line_source_account</string>
</list>
</value>
</item>
......
......@@ -11,6 +11,7 @@
<value>
<list>
<string>portal_types</string>
<string>title</string>
</list>
</value>
</item>
......@@ -73,11 +74,11 @@
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_component_module_listbox</string> </value>
<value> <string>my_view_mode_resource_module_listbox</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Resource_viewFieldLibrary</string> </value>
<value> <string>Base_viewPDMFieldLibrary</string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
......@@ -94,6 +95,10 @@
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Components</string> </value>
</item>
</dictionary>
</value>
</item>
......
......@@ -73,7 +73,7 @@
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_product_module_listbox</string> </value>
<value> <string>my_view_mode_resource_module_listbox</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
......
......@@ -104,7 +104,6 @@
<string>my_product_line</string>
<string>my_reference</string>
<string>my_product_module_listbox</string>
<string>my_service_module_listbox</string>
<string>my_ean13_code</string>
<string>my_aggregated_portal_type_list</string>
<string>my_required_aggregated_portal_type_list</string>
......@@ -120,8 +119,7 @@
<string>my_product_individual_variation_listbox</string>
<string>my_service_individual_variation_listbox</string>
<string>my_individual_variation_base_category_list</string>
<string>listbox_purchase_supply_line_destination_account</string>
<string>listbox_sale_supply_line_source_account</string>
<string>my_service_module_listbox</string>
</list>
</value>
</item>
......
......@@ -11,7 +11,6 @@
<value>
<list>
<string>title</string>
<string>selection_name</string>
</list>
</value>
</item>
......@@ -61,18 +60,10 @@
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
......@@ -88,10 +79,6 @@
<key> <string>form_id</string> </key>
<value> <string>Resource_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>service_module_selection</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......
......@@ -10,7 +10,7 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>portal_types</string>
<string>title</string>
</list>
</value>
</item>
......@@ -73,27 +73,20 @@
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_service_module_listbox</string> </value>
<value> <string>my_view_mode_resource_module_listbox</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Resource_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
<value>
<list>
<tuple>
<string>Service</string>
<string>Service</string>
</tuple>
</list>
</value>
<value> <string>Base_viewPDMFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Services</string> </value>
</item>
</dictionary>
</value>
</item>
......
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