From ae0731bf21bc94ccbdfecc31391c267cf5773019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Mon, 26 May 2008 14:32:27 +0000 Subject: [PATCH] DMS preferences is now only configurable on System Preference git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21129 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Preference/dms_preferences.xml | 83 ------ .../System%20Preference/dms_preference.xml | 2 +- .../erp5_dms/Preference_viewDocument.xml | 141 ---------- .../my_preferred_document_classification.xml | 122 -------- ...erred_document_email_ingestion_address.xml | 99 ------- ..._document_file_name_regular_expression.xml | 104 ------- ..._document_ingestion_email_notification.xml | 266 ------------------ ...preferred_document_reference_method_id.xml | 104 ------- ..._document_reference_regular_expression.xml | 104 ------- .../my_preferred_document_classification.xml | 41 ++- ...erred_document_email_ingestion_address.xml | 31 ++ ..._document_file_name_regular_expression.xml | 35 +++ ..._document_ingestion_email_notification.xml | 20 +- ...preferred_document_reference_method_id.xml | 35 +++ ..._document_reference_regular_expression.xml | 35 +++ bt5/erp5_dms/bt/revision | 2 +- bt5/erp5_dms/bt/template_action_path_list | 1 - 17 files changed, 196 insertions(+), 1029 deletions(-) delete mode 100644 bt5/erp5_dms/ActionTemplateItem/portal_types/Preference/dms_preferences.xml delete mode 100644 bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument.xml delete mode 100644 bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_classification.xml delete mode 100644 bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_email_ingestion_address.xml delete mode 100644 bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_file_name_regular_expression.xml delete mode 100644 bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_ingestion_email_notification.xml delete mode 100644 bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_reference_method_id.xml delete mode 100644 bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_reference_regular_expression.xml diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Preference/dms_preferences.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Preference/dms_preferences.xml deleted file mode 100644 index e01ba37539..0000000000 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Preference/dms_preferences.xml +++ /dev/null @@ -1,83 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>action</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>category</string> </key> - <value> <string>object_view</string> </value> - </item> - <item> - <key> <string>condition</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>icon</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>dms_preferences</string> </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple> - <string>View</string> - </tuple> - </value> - </item> - <item> - <key> <string>priority</string> </key> - <value> <float>4.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>DMS</string> </value> - </item> - <item> - <key> <string>visible</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>string:${object_url}/Preference_viewDocument</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/System%20Preference/dms_preference.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/System%20Preference/dms_preference.xml index 676ccd4308..b4c82d5171 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/System%20Preference/dms_preference.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/System%20Preference/dms_preference.xml @@ -45,7 +45,7 @@ <key> <string>permissions</string> </key> <value> <tuple> - <string>Manage portal</string> + <string>View</string> </tuple> </value> </item> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument.xml deleted file mode 100644 index eb53ec35e3..0000000000 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument.xml +++ /dev/null @@ -1,141 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ERP5Form" module="Products.ERP5Form.Form"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary/> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_objects</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>action</string> </key> - <value> <string>Base_edit</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>encoding</string> </key> - <value> <string>UTF-8</string> </value> - </item> - <item> - <key> <string>enctype</string> </key> - <value> <string>multipart/form-data</string> </value> - </item> - <item> - <key> <string>group_list</string> </key> - <value> - <list> - <string>left</string> - <string>right</string> - </list> - </value> - </item> - <item> - <key> <string>groups</string> </key> - <value> - <dictionary> - <item> - <key> <string>left</string> </key> - <value> - <list> - <string>my_preferred_document_classification</string> - <string>my_preferred_document_file_name_regular_expression</string> - <string>my_preferred_document_reference_regular_expression</string> - <string>my_preferred_document_email_ingestion_address</string> - <string>my_preferred_document_ingestion_email_notification</string> - <string>my_preferred_document_reference_method_id</string> - </list> - </value> - </item> - <item> - <key> <string>right</string> </key> - <value> - <list/> - </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>Preference_viewDocument</string> </value> - </item> - <item> - <key> <string>method</string> </key> - <value> <string>POST</string> </value> - </item> - <item> - <key> <string>name</string> </key> - <value> <string>Preference_viewDMS</string> </value> - </item> - <item> - <key> <string>pt</string> </key> - <value> <string>form_view</string> </value> - </item> - <item> - <key> <string>row_length</string> </key> - <value> <int>4</int> </value> - </item> - <item> - <key> <string>stored_encoding</string> </key> - <value> <string>UTF-8</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>DMS Preferences</string> </value> - </item> - <item> - <key> <string>unicode_mode</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>update_action</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_classification.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_classification.xml deleted file mode 100644 index 6bb3214df1..0000000000 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_classification.xml +++ /dev/null @@ -1,122 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>delegated_list</string> </key> - <value> - <list> - <string>title</string> - <string>items</string> - </list> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>my_preferred_document_classification</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>items</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </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_category</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>Preferred Classification</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="TALESMethod" module="Products.Formulator.TALESField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>python:tuple(here.portal_categories.classification.getCategoryChildLogicalPathItemList(display_none_category=0,filter_node=1,local_sort_id=\'title\',checked_permission=\'View\'))</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_email_ingestion_address.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_email_ingestion_address.xml deleted file mode 100644 index 393f03c8b2..0000000000 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_email_ingestion_address.xml +++ /dev/null @@ -1,99 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> - <tuple/> - </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_document_email_ingestion_address</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_email</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>Email Ingestion Address</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_file_name_regular_expression.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_file_name_regular_expression.xml deleted file mode 100644 index 80c822a12d..0000000000 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_file_name_regular_expression.xml +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>delegated_list</string> </key> - <value> - <list> - <string>title</string> - <string>editable</string> - </list> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>my_preferred_document_file_name_regular_expression</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>editable</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>field_id</string> </key> - <value> <string>my_title</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>Filename parsing regular expression</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_ingestion_email_notification.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_ingestion_email_notification.xml deleted file mode 100644 index 4fb7ed13f3..0000000000 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_ingestion_email_notification.xml +++ /dev/null @@ -1,266 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="RadioField" module="Products.Formulator.StandardFields"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>id</string> </key> - <value> <string>my_preferred_document_ingestion_email_notification</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> - <item> - <key> <string>required_not_found</string> </key> - <value> <string>Input is required but no input given.</string> </value> - </item> - <item> - <key> <string>unknown_selection</string> </key> - <value> <string>You selected an item that was not in the list.</string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>overrides</string> </key> - <value> - <dictionary> - <item> - <key> <string>alternate_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>css_class</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>default</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>editable</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>enabled</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>external_validator</string> </key> - <value> <string></string> </value> - </item> - <item> - <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>hidden</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>items</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>orientation</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>required</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>unicode</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>whitespace_preserve</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>tales</string> </key> - <value> - <dictionary> - <item> - <key> <string>alternate_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>css_class</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>default</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>editable</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>enabled</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>external_validator</string> </key> - <value> <string></string> </value> - </item> - <item> - <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>hidden</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>items</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>orientation</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>required</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>unicode</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>whitespace_preserve</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>values</string> </key> - <value> - <dictionary> - <item> - <key> <string>alternate_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>css_class</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>default</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>editable</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>enabled</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>external_validator</string> </key> - <value> <string></string> </value> - </item> - <item> - <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>hidden</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>items</string> </key> - <value> - <list> - <tuple> - <string>Always</string> - <string>always</string> - </tuple> - <tuple> - <string>Only if problem</string> - <string>problem</string> - </tuple> - <tuple> - <string>Never</string> - <string>never</string> - </tuple> - </list> - </value> - </item> - <item> - <key> <string>orientation</string> </key> - <value> <string>vertical</string> </value> - </item> - <item> - <key> <string>required</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Email notification about document ingestion</string> </value> - </item> - <item> - <key> <string>unicode</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>whitespace_preserve</string> </key> - <value> <int>0</int> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_reference_method_id.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_reference_method_id.xml deleted file mode 100644 index d5981ac5dc..0000000000 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_reference_method_id.xml +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>delegated_list</string> </key> - <value> - <list> - <string>title</string> - <string>enabled</string> - </list> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>my_preferred_document_reference_method_id</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>enabled</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>field_id</string> </key> - <value> <string>my_title</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>Reference processing function (not implemented)</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_reference_regular_expression.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_reference_regular_expression.xml deleted file mode 100644 index 0eb4ee89e5..0000000000 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Preference_viewDocument/my_preferred_document_reference_regular_expression.xml +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>delegated_list</string> </key> - <value> - <list> - <string>title</string> - <string>editable</string> - </list> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>my_preferred_document_reference_regular_expression</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>editable</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>field_id</string> </key> - <value> <string>my_title</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>Reference lookup regular expression</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_classification.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_classification.xml index 6bb3214df1..77b94a82c7 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_classification.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_classification.xml @@ -14,6 +14,7 @@ <value> <list> <string>title</string> + <string>default</string> <string>items</string> </list> </value> @@ -56,6 +57,12 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>default</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -65,15 +72,19 @@ <value> <string></string> </value> </item> <item> - <key> <string>items</string> </key> + <key> <string>items</string> </key> <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </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> @@ -81,6 +92,10 @@ <key> <string>values</string> </key> <value> <dictionary> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_category</string> </value> @@ -89,6 +104,12 @@ <key> <string>form_id</string> </key> <value> <string>Base_viewFieldLibrary</string> </value> </item> + <item> + <key> <string>items</string> </key> + <value> + <list/> + </value> + </item> <item> <key> <string>target</string> </key> <value> <string>Click to edit the target</string> </value> @@ -104,6 +125,22 @@ </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: here.getPreferredDocumentClassification() or preferences.getPreferredDocumentClassification()</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_email_ingestion_address.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_email_ingestion_address.xml index 393f03c8b2..1da3e7d879 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_email_ingestion_address.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_email_ingestion_address.xml @@ -14,6 +14,7 @@ <value> <list> <string>title</string> + <string>default</string> </list> </value> </item> @@ -55,6 +56,12 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>default</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -67,6 +74,10 @@ <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -74,6 +85,10 @@ <key> <string>values</string> </key> <value> <dictionary> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string>my_email</string> </value> @@ -96,4 +111,20 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: here.getPreferredDocumentEmailIngestionAddress() or preferences.getPreferredDocumentEmailIngestionAddress()</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_file_name_regular_expression.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_file_name_regular_expression.xml index 80c822a12d..40b63a7f48 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_file_name_regular_expression.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_file_name_regular_expression.xml @@ -14,6 +14,7 @@ <value> <list> <string>title</string> + <string>default</string> <string>editable</string> </list> </value> @@ -56,6 +57,16 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>default</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,6 +79,10 @@ <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -75,6 +90,10 @@ <key> <string>values</string> </key> <value> <dictionary> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>editable</string> </key> <value> <int>1</int> </value> @@ -101,4 +120,20 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: here.getPreferredDocumentFileNameRegularExpression() or preferences.getPreferredDocumentFileNameRegularExpression()</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_ingestion_email_notification.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_ingestion_email_notification.xml index 4fb7ed13f3..b4e40477c7 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_ingestion_email_notification.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_ingestion_email_notification.xml @@ -117,7 +117,9 @@ </item> <item> <key> <string>default</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> @@ -263,4 +265,20 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: here.getPreferredDocumentIngestionEmailNotification() or preferences.getPreferredDocumentIngestionEmailNotification()</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_reference_method_id.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_reference_method_id.xml index d5981ac5dc..88d0444f1d 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_reference_method_id.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_reference_method_id.xml @@ -14,6 +14,7 @@ <value> <list> <string>title</string> + <string>default</string> <string>enabled</string> </list> </value> @@ -56,6 +57,16 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>default</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,6 +79,10 @@ <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -75,6 +90,10 @@ <key> <string>values</string> </key> <value> <dictionary> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>enabled</string> </key> <value> <int>0</int> </value> @@ -101,4 +120,20 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: here.getPreferredDocumentReferenceMethodId() or preferences.getPreferredDocumentReferenceMethodId()</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_reference_regular_expression.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_reference_regular_expression.xml index 0eb4ee89e5..fb082d6fd0 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_reference_regular_expression.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/SystemPreference_viewDocument/my_preferred_document_reference_regular_expression.xml @@ -14,6 +14,7 @@ <value> <list> <string>title</string> + <string>default</string> <string>editable</string> </list> </value> @@ -56,6 +57,16 @@ <key> <string>tales</string> </key> <value> <dictionary> + <item> + <key> <string>default</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -68,6 +79,10 @@ <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -75,6 +90,10 @@ <key> <string>values</string> </key> <value> <dictionary> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>editable</string> </key> <value> <int>1</int> </value> @@ -101,4 +120,20 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: here.getPreferredDocumentReferenceRegularExpression() or preferences.getPreferredDocumentReferenceRegularExpression()</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index f30735b327..d4f7b8f432 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -884 \ No newline at end of file +886 \ No newline at end of file diff --git a/bt5/erp5_dms/bt/template_action_path_list b/bt5/erp5_dms/bt/template_action_path_list index 979de05038..0d1af42d60 100644 --- a/bt5/erp5_dms/bt/template_action_path_list +++ b/bt5/erp5_dms/bt/template_action_path_list @@ -68,7 +68,6 @@ PDF | view PDF | web_view Person | contribute_file Person | related_document_view -Preference | dms_preferences Presentation | convert Presentation | create_snapshot Presentation | download -- 2.30.9