Commit d48240f2 authored by Rafael Monnerat's avatar Rafael Monnerat

All Tasks are added now at Task Module.

* Changed Allowed  Content Types
* Added new action to add related tasks. (in Project and Project Line)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11037 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 90210c47
<?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>add_task_related</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>22.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Add Task Related to This Project</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}/Project_addTask</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</item> </item>
<item> <item>
<key> <string>priority</string> </key> <key> <string>priority</string> </key>
<value> <float>2.0</float> </value> <value> <float>3.0</float> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>task</string> </value> <value> <string>task_list</string> </value>
</item> </item>
<item> <item>
<key> <string>permissions</string> </key> <key> <string>permissions</string> </key>
......
<?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>add_task_related</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>23.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Add Task Related to This Project</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}/Project_addTask</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>task</string> </value> <value> <string>task_list</string> </value>
</item> </item>
<item> <item>
<key> <string>permissions</string> </key> <key> <string>permissions</string> </key>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<portal_type id="Project"> <portal_type id="Project">
<item>Project Milestone</item> <item>Project Milestone</item>
<item>Web Page</item> <item>Web Page</item>
<item>Task</item>
<item>File</item> <item>File</item>
<item>Project Line</item> <item>Project Line</item>
<item>Image</item> <item>Image</item>
......
...@@ -36,6 +36,25 @@ ...@@ -36,6 +36,25 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_property_domain_dict</string> </key>
<value>
<dictionary>
<item>
<key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item> <item>
<key> <string>_roles</string> </key> <key> <string>_roles</string> </key>
<value> <value>
...@@ -115,4 +134,50 @@ ...@@ -115,4 +134,50 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.TranslationProviderBase</string>
<string>TranslationInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>short_title</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.TranslationProviderBase</string>
<string>TranslationInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>title</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -95,11 +95,10 @@ ...@@ -95,11 +95,10 @@
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <value>
<list> <list>
<string>listbox_title</string> <string>listbox_int_index</string>
<string>listbox_quantity</string> <string>listbox_quantity</string>
<string>listbox_start_date</string> <string>listbox_start_date</string>
<string>listbox_stop_date</string> <string>listbox_stop_date</string>
<string>listbox_int_index</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -3,8 +3,11 @@ ...@@ -3,8 +3,11 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<global name="ListBox" module="Products.ERP5Form.ListBox"/> <tuple>
<tuple/> <string>Products.ERP5Form.ListBox</string>
<string>ListBox</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -217,9 +220,7 @@ ...@@ -217,9 +220,7 @@
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <value> <string></string> </value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>external_validator</string> </key>
...@@ -275,9 +276,7 @@ ...@@ -275,9 +276,7 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <value> <string></string> </value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
...@@ -322,13 +321,17 @@ ...@@ -322,13 +321,17 @@
<string>id</string> <string>id</string>
<string>ID</string> <string>ID</string>
</tuple> </tuple>
<tuple>
<string>int_index</string>
<string>Index</string>
</tuple>
<tuple> <tuple>
<string>title</string> <string>title</string>
<string>Title</string> <string>Title</string>
</tuple> </tuple>
<tuple> <tuple>
<string>source_title</string> <string>source_title</string>
<string>Colleague</string> <string>Resource</string>
</tuple> </tuple>
<tuple> <tuple>
<string>start_date</string> <string>start_date</string>
...@@ -352,7 +355,24 @@ ...@@ -352,7 +355,24 @@
<item> <item>
<key> <string>all_editable_columns</string> </key> <key> <string>all_editable_columns</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>int_index</string>
<string>Index</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Estimated Time</string>
</tuple>
<tuple>
<string>start_date</string>
<string>Begin</string>
</tuple>
<tuple>
<string>stop_date</string>
<string>End</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -373,7 +393,7 @@ ...@@ -373,7 +393,7 @@
</tuple> </tuple>
<tuple> <tuple>
<string>title</string> <string>title</string>
<string>Title</string> <string>Task Title</string>
</tuple> </tuple>
<tuple> <tuple>
<string>source_title</string> <string>source_title</string>
...@@ -443,8 +463,8 @@ ...@@ -443,8 +463,8 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>title</string> <string>int_index</string>
<string>Title</string> <string>Index</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quantity</string> <string>quantity</string>
...@@ -458,10 +478,6 @@ ...@@ -458,10 +478,6 @@
<string>stop_date</string> <string>stop_date</string>
<string>End</string> <string>End</string>
</tuple> </tuple>
<tuple>
<string>int_index</string>
<string>int_index</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
...@@ -494,7 +510,7 @@ ...@@ -494,7 +510,7 @@
<item> <item>
<key> <string>list_method</string> </key> <key> <string>list_method</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -503,13 +519,17 @@ ...@@ -503,13 +519,17 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>page_template</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
<string>Project Line</string> <string>Task</string>
<string>Project Line</string> <string>Task</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -520,14 +540,14 @@ ...@@ -520,14 +540,14 @@
<list> <list>
<tuple> <tuple>
<string>parent</string> <string>parent</string>
<string>Document Tree</string> <string>Object Tree</string>
</tuple> </tuple>
</list> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>report_tree</string> </key> <key> <string>report_tree</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>search</string> </key> <key> <string>search</string> </key>
...@@ -545,16 +565,12 @@ ...@@ -545,16 +565,12 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>project_selection</string> </value> <value> <string>project_task_selection</string> </value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
<value> <value>
<list> <list>
<tuple>
<string>int_index</string>
<string>int_index</string>
</tuple>
<tuple> <tuple>
<string>id</string> <string>id</string>
<string>id</string> <string>id</string>
...@@ -580,7 +596,7 @@ ...@@ -580,7 +596,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Project Lines</string> </value> <value> <string>Listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
...@@ -598,52 +614,17 @@ ...@@ -598,52 +614,17 @@
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
<string>Products.Formulator.TALESField</string> <string>Products.Formulator.MethodField</string>
<string>TALESMethod</string> <string>Method</string>
</tuple> </tuple>
<none/> <none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.objectIds()</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:\'project_selection_%s\' % len(here.getPhysicalPath())</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>method_name</string> </key> <key> <string>method_name</string> </key>
<value> <string>searchFolder</string> </value> <value> <string>getSourceProjectRelatedValueList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
</item> </item>
<item> <item>
<key> <string>css_class</string> </key> <key> <string>css_class</string> </key>
<value> <string></string> </value> <value> <string>figure</string> </value>
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
......
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
</item> </item>
<item> <item>
<key> <string>css_class</string> </key> <key> <string>css_class</string> </key>
<value> <string></string> </value> <value> <string>figure</string> </value>
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>20</int> </value> <value> <int>10</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
...@@ -209,6 +209,14 @@ ...@@ -209,6 +209,14 @@
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item>
<key> <string>input_style</string> </key>
<value> <string>-1 234.5</string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>StringField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_title</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>too_long</string> </key>
<value> <string>Too much input was given.</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>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</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</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</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>truncate</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>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</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</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</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>truncate</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>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </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</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Title</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <int>0</int> </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>
...@@ -4,14 +4,24 @@ ...@@ -4,14 +4,24 @@
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
<string>Products.ERP5Form.Form</string> <string>Products.PythonScripts.PythonScript</string>
<string>ERP5Form</string> <string>PythonScript</string>
</tuple> </tuple>
<none/> <none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <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> <item>
<key> <string>__ac_local_roles__</string> </key> <key> <string>__ac_local_roles__</string> </key>
<value> <value>
...@@ -31,7 +41,24 @@ ...@@ -31,7 +41,24 @@
<item> <item>
<key> <string>_asgns</string> </key> <key> <string>_asgns</string> </key>
<value> <value>
<dictionary/> <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> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -40,125 +67,84 @@ ...@@ -40,125 +67,84 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>_objects</string> </key> <key> <string>_body</string> </key>
<value> <value> <string># Add a task in task_module. \n
<tuple/> context_obj = context.getObject()\n
</value> task = context.task_module.newContent( portal_type = \'Task\')\n
\n
# Set the source_project \n
task.setSourceProjectValue(context_obj)\n
\n
return context.REQUEST.RESPONSE.redirect(task.absolute_url() + \'?portal_status_message=Created+Task.\')\n
</string> </value>
</item> </item>
<item> <item>
<key> <string>action</string> </key> <key> <string>_code</string> </key>
<value> <string>Base_edit</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>encoding</string> </key> <key> <string>_filepath</string> </key>
<value> <string>UTF-8</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>enctype</string> </key> <key> <string>_params</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>group_list</string> </key> <key> <string>errors</string> </key>
<value> <value>
<list> <tuple/>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>groups</string> </key> <key> <string>func_code</string> </key>
<value> <value>
<dictionary> <object>
<item> <klass>
<key> <string>bottom</string> </key> <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
<value> </klass>
<list> <tuple/>
<string>listbox</string> <state>
</list> <dictionary>
</value> <item>
</item> <key> <string>co_argcount</string> </key>
<item> <value> <int>0</int> </value>
<key> <string>center</string> </key> </item>
<value> <item>
<list> <key> <string>co_varnames</string> </key>
<string>my_description</string> <value>
</list> <tuple>
</value> <string>_getattr_</string>
</item> <string>context</string>
<item> <string>context_obj</string>
<key> <string>hidden</string> </key> <string>task</string>
<value> </tuple>
<list> </value>
<string>listbox_int_index</string> </item>
<string>listbox_quantity</string> </dictionary>
<string>listbox_start_date</string> </state>
<string>listbox_stop_date</string> </object>
</list>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_reference</string>
<string>my_destination_section_title</string>
<string>my_destination_title</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list>
<string>my_start_date</string>
<string>my_stop_date</string>
<string>my_source_title_list</string>
</list>
</value>
</item>
</dictionary>
</value> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>func_defaults</string> </key>
<value> <string>Project_viewTask</string> </value> <value>
</item> <none/>
<item> </value>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Project_view</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>Project</string> </value>
</item> </item>
<item> <item>
<key> <string>unicode_mode</string> </key> <key> <string>id</string> </key>
<value> <int>0</int> </value> <value> <string>Project_addTask</string> </value>
</item> </item>
<item> <item>
<key> <string>update_action</string> </key> <key> <string>warnings</string> </key>
<value> <string></string> </value> <value>
<tuple/>
</value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
132 144
\ No newline at end of file \ No newline at end of file
...@@ -2,6 +2,7 @@ Project Cell | history_view ...@@ -2,6 +2,7 @@ Project Cell | history_view
Project Cell | metadata Project Cell | metadata
Project Cell | print Project Cell | print
Project Cell | view Project Cell | view
Project Line | add_task_related
Project Line | available_budget Project Line | available_budget
Project Line | constraint Project Line | constraint
Project Line | consumed_budget Project Line | consumed_budget
...@@ -14,8 +15,8 @@ Project Line | initial_budget ...@@ -14,8 +15,8 @@ Project Line | initial_budget
Project Line | jump_to_related_sale_order_lines Project Line | jump_to_related_sale_order_lines
Project Line | metadata Project Line | metadata
Project Line | print Project Line | print
Project Line | task
Project Line | task_fast_input_dialog Project Line | task_fast_input_dialog
Project Line | task_list
Project Line | view Project Line | view
Project Milestone | constraint Project Milestone | constraint
Project Milestone | history Project Milestone | history
...@@ -24,6 +25,7 @@ Project Milestone | print ...@@ -24,6 +25,7 @@ Project Milestone | print
Project Milestone | view Project Milestone | view
Project Module | print_pdf Project Module | print_pdf
Project Module | view Project Module | view
Project | add_task_related
Project | content Project | content
Project | detailed_report Project | detailed_report
Project | documents Project | documents
...@@ -36,8 +38,8 @@ Project | planning ...@@ -36,8 +38,8 @@ Project | planning
Project | print Project | print
Project | project_lines Project | project_lines
Project | report Project | report
Project | task
Project | task_fast_input_dialog Project | task_fast_input_dialog
Project | task_list
Project | view Project | view
Requirement Document | detailed_report Requirement Document | detailed_report
Requirement Document | fast_input Requirement Document | fast_input
......
...@@ -13,7 +13,6 @@ Project | File ...@@ -13,7 +13,6 @@ Project | File
Project | Image Project | Image
Project | Project Line Project | Project Line
Project | Project Milestone Project | Project Milestone
Project | Task
Project | Web Page Project | Web Page
Requirement Document | Requirement Requirement Document | Requirement
Requirement Module | Requirement Document Requirement Module | Requirement Document
......
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