Commit 968ecd15 authored by Rafael Monnerat's avatar Rafael Monnerat

Improved document support for Projects with/without dms.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22929 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5b8b7c65
<?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_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>create_new_file</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>31.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Create New File</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}/Base_viewNewFileDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -39,7 +39,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>documents</string> </value>
<value> <string>document_list</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
......
<?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_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>create_new_file</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>7.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Create New File</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}/Base_viewNewFileDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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>document_list</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>6.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>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>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Base_viewDocumentList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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_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>create_new_file</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>24.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Create New File</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}/Base_viewNewFileDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -39,7 +39,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>documents</string> </value>
<value> <string>document_list</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
......
<allowed_content_type_list>
<portal_type id="Project">
<item>Project Line</item>
<item>File</item>
<item>Project Milestone</item>
<item>File</item>
<item>Project Line</item>
<item>Image</item>
</portal_type>
<portal_type id="Project Line">
<item>Project Line</item>
<item>Image</item>
<item>Project Cell</item>
<item>Folder</item>
<item>Project Line</item>
<item>File</item>
<item>Image</item>
</portal_type>
<portal_type id="Project Milestone">
<item>Image</item>
<item>File</item>
</portal_type>
<portal_type id="Project Module">
......@@ -28,9 +32,9 @@
<item>Sale Order Milestone</item>
</portal_type>
<portal_type id="Task">
<item>Discount</item>
<item>Task Line</item>
<item>Payment Condition</item>
<item>Discount</item>
</portal_type>
<portal_type id="Task Module">
<item>Task</item>
......
<hidden_content_type_list>
<portal_type id="Project">
<item>File</item>
<item>Image</item>
</portal_type>
<portal_type id="Project Line">
<item>Image</item>
<item>File</item>
</portal_type>
<portal_type id="Project Milestone">
<item>Image</item>
<item>File</item>
</portal_type>
</hidden_content_type_list>
\ No newline at end of file
543
\ No newline at end of file
544
\ No newline at end of file
......@@ -4,21 +4,25 @@ Project Line | available_budget
Project Line | constraint
Project Line | consumed_budget
Project Line | contents
Project Line | create_new_file
Project Line | current_budget
Project Line | documents
Project Line | document_list
Project Line | initial_budget
Project Line | jump_to_related_sale_order_lines
Project Line | task_fast_input_dialog
Project Line | task_list
Project Line | view
Project Milestone | constraint
Project Milestone | create_new_file
Project Milestone | document_list
Project Milestone | view
Project Module | view
Project | add_task_related
Project | bug_list
Project | content
Project | create_new_file
Project | detailed_report
Project | documents
Project | document_list
Project | jump_to_related_sale_order_lines
Project | milestone
Project | planning
......
......@@ -3,6 +3,8 @@ Project Line | Folder
Project Line | Image
Project Line | Project Cell
Project Line | Project Line
Project Milestone | File
Project Milestone | Image
Project Module | Project
Project | File
Project | Image
......
Project Line | File
Project Line | Image
Project Milestone | File
Project Milestone | Image
Project | File
Project | Image
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment