Commit 42954da7 authored by Thierry's avatar Thierry

2007-08-04 Thierry

* Add some fields in Base_viewFieldLibrary and define some new field rendering properties in preferences

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16034 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b30378f7
......@@ -16,17 +16,8 @@
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Authenticated</string>
<string>Author</string>
<string>Manager</string>
<string>Member</string>
<string>Owner</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
......@@ -43,17 +34,8 @@
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Authenticated</string>
<string>Author</string>
<string>Manager</string>
<string>Member</string>
<string>Owner</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
......@@ -98,6 +80,26 @@
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_quantity_field_width</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_money_quantity_field_width</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
......@@ -415,17 +417,39 @@ It\'s the lowest priority one; ie. managers can create higher priority preferenc
<none/>
</value>
</item>
<item>
<key> <string>preferred_campaign_resource</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>preferred_category_child_item_list_method_id</string> </key>
<value> <string>getCategoryChildTranslatedLogicalPathItemList</string> </value>
</item>
<item>
<key> <string>preferred_date_order</string> </key>
<value> <string>ymd</string> </value>
</item>
<item>
<key> <string>preferred_event_assessment_form_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>preferred_event_resource</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>preferred_html_style_contextual_help</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>preferred_html_style_developper_mode</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>preferred_html_style_translator_mode</string> </key>
......@@ -439,6 +463,16 @@ It\'s the lowest priority one; ie. managers can create higher priority preferenc
<key> <string>preferred_listbox_view_mode_line_count</string> </key>
<value> <int>15</int> </value>
</item>
<item>
<key> <string>preferred_meeting_resource</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>preferred_money_quantity_field_width</string> </key>
<value> <int>10</int> </value>
</item>
<item>
<key> <string>preferred_ooodoc_server_address</string> </key>
<value> <string>localhost</string> </value>
......@@ -447,6 +481,16 @@ It\'s the lowest priority one; ie. managers can create higher priority preferenc
<key> <string>preferred_ooodoc_server_port_number</string> </key>
<value> <int>8008</int> </value>
</item>
<item>
<key> <string>preferred_quantity_field_width</string> </key>
<value> <int>5</int> </value>
</item>
<item>
<key> <string>preferred_sale_opportunity_resource</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>preferred_section_category</string> </key>
<value>
......@@ -469,6 +513,12 @@ It\'s the lowest priority one; ie. managers can create higher priority preferenc
<tuple/>
</value>
</item>
<item>
<key> <string>preferred_support_request_resource</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>preferred_textarea_height</string> </key>
<value> <string>4</string> </value>
......
......@@ -110,10 +110,14 @@
<string>my_view_mode_listbox</string>
<string>my_description</string>
<string>my_translated_workflow_state_title</string>
<string>my_currency_value</string>
<string>my_integer_value</string>
<string>my_category_list</string>
<string>my_password</string>
<string>my_text_area_field</string>
<string>my_multi_relation_field</string>
<string>my_category_list</string>
<string>my_money_quantity</string>
<string>my_title</string>
<string>my_quantity</string>
</list>
</value>
</item>
......
......@@ -4,8 +4,8 @@
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>MultiListField</string>
<string>Products.ERP5Form.ParallelListField</string>
<string>ParallelListField</string>
</tuple>
<none/>
</tuple>
......@@ -75,6 +75,14 @@
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hash_script_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
......@@ -146,6 +154,14 @@
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hash_script_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
......@@ -221,6 +237,14 @@
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>hash_script_id</string> </key>
<value> <string>Base_hashCategoryList</string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
......@@ -237,7 +261,7 @@
</item>
<item>
<key> <string>size</string> </key>
<value> <int>4</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -275,7 +299,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.portal_categories[field.getId().replace(\'my_\', \'\', 1).replace(\'_list\', \'\')].getCategoryChildCompactLogicalPathItemList()</string> </value>
<value> <string>python: here.portal_categories[field.getId().replace(\'my_\', \'\', 1).replace(\'_list\', \'\')].getCategoryChildCompactLogicalPathItemList(display_none_category=0)</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -136,7 +136,9 @@
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>editable</string> </key>
......@@ -255,4 +257,23 @@
</dictionary>
</pickle>
</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: preferences.getPreference(\'preferred_quantity_field_width\', 80)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -20,7 +20,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_currency_value</string> </value>
<value> <string>my_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -249,7 +249,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Currency</string> </value>
<value> <string>Quantity</string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
......@@ -275,7 +275,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_string_field_width\', 30)</string> </value>
<value> <string>python: preferences.getPreference(\'preferred_quantity_field_width\', 5)</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -96,7 +96,10 @@
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
<list>
<string>listbox_delivery_start_date</string>
<string>listbox_delivery_stop_date</string>
</list>
</value>
</item>
<item>
......
......@@ -17,8 +17,6 @@
<value>
<list>
<string>lines</string>
<string>list_method</string>
<string>count_method</string>
<string>search</string>
<string>select</string>
</list>
......@@ -86,12 +84,6 @@
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value>
</item>
<item>
<key> <string>search</string> </key>
<value> <string></string> </value>
......@@ -111,10 +103,6 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>count_method</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>listbox</string> </value>
......@@ -127,15 +115,9 @@
<key> <string>lines</string> </key>
<value> <int>10</int> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent>
</value>
</item>
<item>
<key> <string>search</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>select</string> </key>
......@@ -227,42 +209,4 @@
</dictionary>
</pickle>
</record>
<record id="6" aka="AAAAAAAAAAY=">
<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>request/proxy_form_id_list_method | string:searchFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="7" aka="AAAAAAAAAAc=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>contentValues</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -85,7 +85,6 @@
<list>
<string>my_priority</string>
<string>my_preferred_section_category</string>
<string>my_preferred_date_order</string>
<string>my_preferred_ooodoc_server_address</string>
<string>my_preferred_ooodoc_server_port_number</string>
<string>my_translated_preference_state_title</string>
......
......@@ -85,18 +85,21 @@
<string>my_preferred_html_style_translator_mode</string>
<string>my_preferred_html_style_documentation_base_url</string>
<string>my_preferred_category_child_item_list_method_id</string>
<string>my_preferred_listbox_view_mode_line_count</string>
<string>my_preferred_listbox_list_mode_line_count</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<key> <string>right</string> </key>
<value>
<list>
<string>my_preferred_date_order</string>
<string>my_preferred_string_field_width</string>
<string>my_preferred_textarea_width</string>
<string>my_preferred_textarea_height</string>
<string>my_preferred_listbox_view_mode_line_count</string>
<string>my_preferred_listbox_list_mode_line_count</string>
<string>my_preferred_money_quantity_field_width</string>
<string>my_preferred_quantity_field_width</string>
</list>
</value>
</item>
......
<?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>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_preferred_money_quantity_field_width</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>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>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>field_id</string> </key>
<value> <string>my_integer_value</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</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>Money Amounts Fields Width</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_preferred_quantity_field_width</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>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>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>field_id</string> </key>
<value> <string>my_integer_value</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</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>Quantity Fields Width</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
429
\ No newline at end of file
423
\ 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