diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/history.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/history.xml new file mode 100644 index 0000000000000000000000000000000000000000..1de7e2f47bec6d090ac37a12be21d2a4fcb0320e --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/history.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </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>history</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>50.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>History</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_viewHistory</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/local_permission.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/local_permission.xml index 9df0a657ad68e5c5f030cd58db9afc4329af9527..5bec11bcf1da70ab08f39f6f16af976fc3b88360 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/local_permission.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/local_permission.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>30.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/metadata.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/metadata.xml new file mode 100644 index 0000000000000000000000000000000000000000..4fc4105bb2f57ac9601987430cbbe5f0f4db7380 --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/metadata.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </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>metadata</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Manage properties</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>40.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Metadata</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_viewMetadata</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/related_document.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/related_document.xml new file mode 100644 index 0000000000000000000000000000000000000000..21705f0a36671a8d6a43c30b8c977eae171b7776 --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/related_document.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </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>related_document</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>20.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Related Documents</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Document_viewRelated</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/view.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/view.xml index 3145b4ec86d436b6d24fc14b9f2b477fe5392c1e..2b53af46e43b8026663132178e98642e8141819e 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/view.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20File/view.xml @@ -58,7 +58,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>View</string> </value> + <value> <string>View</string> </value> </item> <item> <key> <string>visible</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/download.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/download.xml new file mode 100644 index 0000000000000000000000000000000000000000..36b8e6415afd8925a135fa3035425e60b7196dd1 --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/download.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </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_action</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>download</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>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Download</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_download</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/history.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/history.xml new file mode 100644 index 0000000000000000000000000000000000000000..1de7e2f47bec6d090ac37a12be21d2a4fcb0320e --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/history.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </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>history</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>50.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>History</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_viewHistory</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/local_permission.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/local_permission.xml new file mode 100644 index 0000000000000000000000000000000000000000..5bec11bcf1da70ab08f39f6f16af976fc3b88360 --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/local_permission.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </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>local_permission</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>30.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Local Roles</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_viewLocalPermission</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/metadata.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/metadata.xml new file mode 100644 index 0000000000000000000000000000000000000000..4fc4105bb2f57ac9601987430cbbe5f0f4db7380 --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/metadata.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </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>metadata</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Manage properties</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>40.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Metadata</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_viewMetadata</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/related_document.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/related_document.xml new file mode 100644 index 0000000000000000000000000000000000000000..21705f0a36671a8d6a43c30b8c977eae171b7776 --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/related_document.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </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>related_document</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>20.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Related Documents</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Document_viewRelated</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/view.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..2b53af46e43b8026663132178e98642e8141819e --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/DMS%20Pdf%20File/view.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </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>view</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>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</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> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DMSFile_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/list_ui.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/list_ui.xml index 5b9d26415f3dc035da5a6b12b76fbade1f29b23b..7abbd98ba48e03b9eaa8c9642cf261cf15abf3cc 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/list_ui.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/list_ui.xml @@ -70,8 +70,11 @@ <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> </tuple> </pickle> <pickle> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/sort_on.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/sort_on.xml index 37ecf253c2ae610c9c35fb8027a303a8f8ce4670..4b00418f4beeefe814d70ed98805a7a5851ed870 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/sort_on.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/sort_on.xml @@ -70,8 +70,11 @@ <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> </tuple> </pickle> <pickle> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/view.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/view.xml index 1d29c5b421b43cd8b689edcfde58db3beb13fa0a..40baeb3bcc07794ca7e4a56aaa4b9d979e5b4ce5 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/view.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/view.xml @@ -70,8 +70,11 @@ <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> </tuple> </pickle> <pickle> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/webdav.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/webdav.xml index 5348be32d51b44108d37969a36591ba1e1e302fc..b3c5f6ad5e244591fe20919b0be92b6f5fbdc1e8 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/webdav.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Document%20Module/webdav.xml @@ -72,8 +72,11 @@ <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> </tuple> </pickle> <pickle> @@ -88,15 +91,18 @@ <record id="3" aka="AAAAAAAAAAM="> <pickle> <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> </tuple> </pickle> <pickle> <dictionary> <item> <key> <string>text</string> </key> - <value> <string>string:${portal_url}/folder.png</string> </value> + <value> <string>string:${portal_url}/webdav.png</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/history.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/history.xml index 16b38d9900130b71ca98198c04bfe91c3857435e..1de7e2f47bec6d090ac37a12be21d2a4fcb0320e 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/history.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/history.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>50.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/local_permission.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/local_permission.xml index 9df0a657ad68e5c5f030cd58db9afc4329af9527..5bec11bcf1da70ab08f39f6f16af976fc3b88360 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/local_permission.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/local_permission.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>30.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/metadata.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/metadata.xml index 4dff523e8c64982b9e2ade0c47573b5171e263d8..4fc4105bb2f57ac9601987430cbbe5f0f4db7380 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/metadata.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/metadata.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>20.0</float> </value> + <value> <float>40.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/related_document.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/related_document.xml index 25f66de080d7b070511860d3f147f45f0278b92f..21705f0a36671a8d6a43c30b8c977eae171b7776 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/related_document.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Graphic/related_document.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>20.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/history.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/history.xml index 16b38d9900130b71ca98198c04bfe91c3857435e..1de7e2f47bec6d090ac37a12be21d2a4fcb0320e 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/history.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/history.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>50.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/local_permission.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/local_permission.xml index 9df0a657ad68e5c5f030cd58db9afc4329af9527..5bec11bcf1da70ab08f39f6f16af976fc3b88360 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/local_permission.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/local_permission.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>30.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/metadata.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/metadata.xml index 4dff523e8c64982b9e2ade0c47573b5171e263d8..4fc4105bb2f57ac9601987430cbbe5f0f4db7380 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/metadata.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/metadata.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>20.0</float> </value> + <value> <float>40.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/related_document.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/related_document.xml index 25f66de080d7b070511860d3f147f45f0278b92f..21705f0a36671a8d6a43c30b8c977eae171b7776 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/related_document.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/related_document.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>20.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/history.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/history.xml index 16b38d9900130b71ca98198c04bfe91c3857435e..1de7e2f47bec6d090ac37a12be21d2a4fcb0320e 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/history.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/history.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>50.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/local_permission.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/local_permission.xml index 9df0a657ad68e5c5f030cd58db9afc4329af9527..5bec11bcf1da70ab08f39f6f16af976fc3b88360 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/local_permission.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/local_permission.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>30.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/metadata.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/metadata.xml index 4dff523e8c64982b9e2ade0c47573b5171e263d8..4fc4105bb2f57ac9601987430cbbe5f0f4db7380 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/metadata.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/metadata.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>20.0</float> </value> + <value> <float>40.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/related_document.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/related_document.xml index 25f66de080d7b070511860d3f147f45f0278b92f..21705f0a36671a8d6a43c30b8c977eae171b7776 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/related_document.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/related_document.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>20.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/history.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/history.xml index 16b38d9900130b71ca98198c04bfe91c3857435e..1de7e2f47bec6d090ac37a12be21d2a4fcb0320e 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/history.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/history.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>10.0</float> </value> + <value> <float>50.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/local_permission.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/local_permission.xml index 9df0a657ad68e5c5f030cd58db9afc4329af9527..5bec11bcf1da70ab08f39f6f16af976fc3b88360 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/local_permission.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/local_permission.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>30.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/metadata.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/metadata.xml index 4dff523e8c64982b9e2ade0c47573b5171e263d8..4fc4105bb2f57ac9601987430cbbe5f0f4db7380 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/metadata.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/metadata.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>20.0</float> </value> + <value> <float>40.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/related_document.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/related_document.xml index 25f66de080d7b070511860d3f147f45f0278b92f..21705f0a36671a8d6a43c30b8c977eae171b7776 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/related_document.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/related_document.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>1.0</float> </value> + <value> <float>20.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_dms/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_dms/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index 44b6cc271e3b2519d4692ffb3c954421c02d47a5..1ed6efdb2779640bc67f9ce801975f1ae28329e5 100644 --- a/bt5/erp5_dms/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_dms/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -2,12 +2,16 @@ <portal_type id="DMS File"> <item>Role Definition</item> </portal_type> + <portal_type id="DMS Pdf File"> + <item>Role Definition</item> + </portal_type> <portal_type id="Document Module"> <item>Text</item> <item>Spreadsheet</item> + <item>DMS Pdf File</item> <item>Presentation</item> + <item>DMS File</item> <item>Graphic</item> - <item>File</item> </portal_type> <portal_type id="File"> <item>Role Definition</item> @@ -21,6 +25,9 @@ <portal_type id="Presentation"> <item>Role Definition</item> </portal_type> + <portal_type id="Spreadsheet"> + <item>Role Definition</item> + </portal_type> <portal_type id="Text"> <item>Role Definition</item> </portal_type> diff --git a/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/DMS%20Pdf%20File.xml b/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/DMS%20Pdf%20File.xml new file mode 100644 index 0000000000000000000000000000000000000000..f5faafb0657bd2a2618867828d8ec0465db109ee --- /dev/null +++ b/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/DMS%20Pdf%20File.xml @@ -0,0 +1,112 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.ERP5Type</string> + <string>ERP5TypeInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_actions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_aliases</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_roles</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>allowed_content_types</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>base_category_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> <string>document.gif</string> </value> + </item> + <item> + <key> <string>content_meta_type</string> </key> + <value> <string>ERP5 DMS File</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string> Special base class, different from File only in that it can contain things \n + (like Role Definition, for example)\n + Could (perhaps should) be a parent class for OOoDocument\n + Should probably be located somewhere else\n + </string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addDMSFile</string> </value> + </item> + <item> + <key> <string>filter_content_types</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>hidden_content_type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>DMS Pdf File</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>property_sheet_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_dms/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml index 8d5846a8dec45ad7607dae69a5b1dd4fb75bdd26..7988281acd76718254843a06b20fd02d4fb289bc 100644 --- a/bt5/erp5_dms/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml +++ b/bt5/erp5_dms/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -3,6 +3,10 @@ <type>DMS File</type> <workflow>document_publication_workflow, edit_workflow, local_permission_interaction_workflow, dms_file_interaction_workflow</workflow> </chain> + <chain> + <type>DMS Pdf File</type> + <workflow>document_publication_workflow, edit_workflow, dms_file_interaction_workflow, local_permission_interaction_workflow</workflow> + </chain> <chain> <type>Graphic</type> <workflow>ooo_interaction_workflow, edit_workflow, local_permission_interaction_workflow, document_publication_workflow</workflow> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/folder.png.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/folder.png.xml new file mode 100644 index 0000000000000000000000000000000000000000..8173a03242d4d660fbacffd8975fdd3d7c2f3792 --- /dev/null +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/folder.png.xml @@ -0,0 +1,80 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>OFS.Image</string> + <string>Image</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>__name__</string> </key> + <value> <string>folder.png</string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>image/png</string> </value> + </item> + <item> + <key> <string>data</string> </key> + <value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABGdBTUEAALGOfPtRkwAAACBjSFJN +AAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAABmJLR0QA/wD/AP+gvaeTAAAA +CXBIWXMAAAsTAAALEwEAmpwYAAAEyElEQVQ4y52UaWxUVRTH//e9N6/zZjozLW2nC6VpKWWgTUop +oQIpKBbLYluiVmWVhCUaRI3EJXzSqB8w0RhiYmKMNlaJQgRRMSymoBVMkLBIrdSUthamncqUtrO9 +N2+7xw/TAkETKb+v9+aX/z3n3CPiXnB4lfyarc1LNuz5cDSiO3Q9eV1y5+ZwLTw6cYVNTugRfSW1 +8+fVrXu25oFlTabo8/585FiHP9Md7bzU0df3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FTo94MBFgREVCCpA0UeoKkCqCkiOCUg +FjfwdVuf8daeL9vbD+95zRg+2wqyBu/4CreoaHjpxdYzUfNgl0ZHQ0T7u4nOhYg0k4iIyLI4/dZ1 +gzbvOhT0FjfsBlMCAIT/3Y6Sb1ruU2+fPPXJmTidG+YU1og4T0nVpE37jvck5zW+cVxwlzQB8Exq +l+fNe7J5+8e90e6/dZqgL6TRznfbrmXNWv0mBOeMu0p5J0z2KCWPftDS8tMI6SbRodODycXr3zku ++UobAaRPWng7jpw5FfWvtl14/r0Tvf7KR16HqNxbyn/HFlla3tz7pIzpdZOu5Tj/AHfHZ4Ovnoov +AAAAAElFTkSuQmCC</string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>22</int> </value> + </item> + <item> + <key> <string>precondition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <long>1380</long> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>22</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/webdav.png.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/webdav.png.xml new file mode 100644 index 0000000000000000000000000000000000000000..8a3a2f28a3a8da19377e88b168902ef1c4fc18ad --- /dev/null +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/webdav.png.xml @@ -0,0 +1,127 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>OFS.Image</string> + <string>Image</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>__name__</string> </key> + <value> <string>webdav.png</string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>image/png</string> </value> + </item> + <item> + <key> <string>data</string> </key> + <value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAK +TWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQ +WaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec +5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28A +AgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0 +ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaO +WJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHi +wmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryM +AgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0l +YqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHi +NLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYA +QH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6c +wR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWwAxqgEZrhELTBMTgN5+ASXIHrcBcGYBie +whi8hgkEQcgIE2EhOogRYo7YIs4IF5mOBCJhSDSSgKQg6YgUUSLFy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33/vo9TE5+cWIpGIoihqIJNJFaemJp+5G6yu +9NNt2bJ97JVXXt4ghIvreiSTSZLJJMFgsLOvP/HQL598/aFwuAtZVnjiiQN/WfGcKyiWRkZGfuD3 ++7cCniRJkVCoI+B5wgNk27Z1x7ENSUIAshDib6lU6o27Ff9zAO/wscLu3vcGAAAAAElFTkSuQmCC</string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>22</int> </value> + </item> + <item> + <key> <string>precondition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <long>4104</long> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>22</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/dms_file_interaction_workflow/interactions/Pdf_file_edit.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/dms_file_interaction_workflow/interactions/Pdf_file_edit.xml new file mode 100644 index 0000000000000000000000000000000000000000..82ac03d7348f323df1c028abe59a59a914a12b9c --- /dev/null +++ b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/dms_file_interaction_workflow/interactions/Pdf_file_edit.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5.Interaction</string> + <string>InteractionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>activate_script_name</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> + <list> + <string>Pdf_File_edit</string> + </list> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Pdf_file_edit</string> </value> + </item> + <item> + <key> <string>method_id</string> </key> + <value> + <list> + <string>_edit</string> + </list> + </value> + </item> + <item> + <key> <string>portal_type_filter</string> </key> + <value> + <list> + <string>DMS Pdf File</string> + </list> + </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>2</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/dms_file_interaction_workflow/scripts/Pdf_File_edit.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/dms_file_interaction_workflow/scripts/Pdf_File_edit.xml new file mode 100644 index 0000000000000000000000000000000000000000..c7b8df827ac358ea905b5d5893d1bb9badb84847 --- /dev/null +++ b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/dms_file_interaction_workflow/scripts/Pdf_File_edit.xml @@ -0,0 +1,172 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.PythonScripts.PythonScript</string> + <string>PythonScript</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Python_magic</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <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> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>ob=state_change.object\n +kw=ob.REQUEST\n +ob.log(\'interaction\',\'edit\')\n +f=kw.get(\'my_file\',None)\n +ob.log(\'f\',f)\n +\n +if f is not None and f:\n + # if file uploaded, then:\n + ob.log(\'file\',f)\n + fname=f.filename\n + # we check for appropriate file type (by extension, using content_type_registry)\n + ctype=context.content_type_registry.findTypeName(fname,None,None)\n + context.log(context.getPortalType(),ctype)\n + if ctype is None:\n + raise Exception(\'This file should be created as DMS File\')\n + if ctype!=ob.getPortalType():\n + raise Exception(\'This file should be created as \'+ctype)\n + ob.setOriginalFilename(fname)\n + if not ob.getTitle():\n + ob.setTitle(fname)\n + if not ob.getReference():\n + ob.setReference(fname)\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_filepath</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>state_change</string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>state_change</string> + <string>_getattr_</string> + <string>ob</string> + <string>kw</string> + <string>None</string> + <string>f</string> + <string>fname</string> + <string>context</string> + <string>ctype</string> + <string>Exception</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Pdf_File_edit</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/bt/change_log b/bt5/erp5_dms/bt/change_log index dbff7525e824215bc8aff2ee14a55b2ecc0f67d6..c6be0dd52f69909ddb6e1eaea2f4158e500691af 100644 --- a/bt5/erp5_dms/bt/change_log +++ b/bt5/erp5_dms/bt/change_log @@ -1,3 +1,8 @@ +2006-08-02 BG +* Support for Pdf File +* fixes in actions, type registry and forms +* searchable text for Text type + 2006-08-01 BG * Support for File (unregistered content type) * Mime header caching and sending diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index e440e5c842586965a7fb77deda2eca68612b1f53..c7930257dfef505fd996e1d6f22f2f35149990d0 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -3 \ No newline at end of file +7 \ 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 c6917a3a72c0b38f6833eea7b18762c77c710908..e870da9ba5a85f1e95b56a372af45b9183bfd282 100644 --- a/bt5/erp5_dms/bt/template_action_path_list +++ b/bt5/erp5_dms/bt/template_action_path_list @@ -1,6 +1,15 @@ DMS File | download +DMS File | history DMS File | local_permission +DMS File | metadata +DMS File | related_document DMS File | view +DMS Pdf File | download +DMS Pdf File | history +DMS Pdf File | local_permission +DMS Pdf File | metadata +DMS Pdf File | related_document +DMS Pdf File | view Document Module | list_ui Document Module | sort_on Document Module | view diff --git a/bt5/erp5_dms/bt/template_path_list b/bt5/erp5_dms/bt/template_path_list index 04826475b711a6d069539fd6f2a4383cb25a20e4..6ecbc29656226b89f22c71d8bf905a2ee73445d3 100644 --- a/bt5/erp5_dms/bt/template_path_list +++ b/bt5/erp5_dms/bt/template_path_list @@ -1,4 +1,6 @@ content_type_registry/file content_type_registry/ooo_calc content_type_registry/ooo_impress -content_type_registry/ooo_writer \ No newline at end of file +content_type_registry/ooo_writer +content_type_registry/pdf_file +content_type_registry/text_file \ No newline at end of file diff --git a/bt5/erp5_dms/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_dms/bt/template_portal_type_allowed_content_type_list index 6156a817c48481eea2afa36a9539e5940a298887..553c65420c5d41e4de15d0ec5b6dbd0ebfc70970 100644 --- a/bt5/erp5_dms/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_dms/bt/template_portal_type_allowed_content_type_list @@ -1,5 +1,7 @@ DMS File | Role Definition -Document Module | File +DMS Pdf File | Role Definition +Document Module | DMS File +Document Module | DMS Pdf File Document Module | Graphic Document Module | Presentation Document Module | Spreadsheet @@ -8,4 +10,5 @@ File | Role Definition Graphic | Role Definition Image Module | Image Presentation | Role Definition +Spreadsheet | Role Definition Text | Role Definition \ No newline at end of file diff --git a/bt5/erp5_dms/bt/template_portal_type_id_list b/bt5/erp5_dms/bt/template_portal_type_id_list index 9fc51d91e93a301422eeaa4750c23517514aa1cc..28a7379afd7b8f8e67308eeb58a898f0e03270a4 100644 --- a/bt5/erp5_dms/bt/template_portal_type_id_list +++ b/bt5/erp5_dms/bt/template_portal_type_id_list @@ -1,4 +1,5 @@ DMS File +DMS Pdf File Document Module Graphic Image Module diff --git a/bt5/erp5_dms/bt/template_portal_type_workflow_chain_list b/bt5/erp5_dms/bt/template_portal_type_workflow_chain_list index bc7f39b5b62aa9dfe9d87ca09f2ec8647a3c3772..de1f24bccf35cb4a79093eacb47a0b5dfcdff57f 100644 --- a/bt5/erp5_dms/bt/template_portal_type_workflow_chain_list +++ b/bt5/erp5_dms/bt/template_portal_type_workflow_chain_list @@ -2,6 +2,10 @@ DMS File | dms_file_interaction_workflow DMS File | document_publication_workflow DMS File | edit_workflow DMS File | local_permission_interaction_workflow +DMS Pdf File | dms_file_interaction_workflow +DMS Pdf File | document_publication_workflow +DMS Pdf File | edit_workflow +DMS Pdf File | local_permission_interaction_workflow Graphic | document_publication_workflow Graphic | edit_workflow Graphic | local_permission_interaction_workflow