From eecbfc40623d234623d566da7d8eb6d0d1100ccd Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Thu, 13 Dec 2007 20:39:56 +0000 Subject: [PATCH] 2007-12-13 yo * Since Requirement Document is not associated with any workflow to manage security, it didn't make sense not to acquire local roles. * Remove start_date and stop_date from task_report_causality_workflow. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18317 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_types/Requirement%20Document.xml | 9 +- .../scripts/PackingList_calculate.xml | 7 +- .../variables/start_date.xml | 85 ------------------- .../variables/stop_date.xml | 85 ------------------- bt5/erp5_project/bt/change_log | 4 + bt5/erp5_project/bt/revision | 2 +- 6 files changed, 16 insertions(+), 176 deletions(-) delete mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/variables/start_date.xml delete mode 100644 bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/variables/stop_date.xml diff --git a/bt5/erp5_project/PortalTypeTemplateItem/portal_types/Requirement%20Document.xml b/bt5/erp5_project/PortalTypeTemplateItem/portal_types/Requirement%20Document.xml index 2ca6c86af4..a5af89e56d 100644 --- a/bt5/erp5_project/PortalTypeTemplateItem/portal_types/Requirement%20Document.xml +++ b/bt5/erp5_project/PortalTypeTemplateItem/portal_types/Requirement%20Document.xml @@ -3,8 +3,11 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> - <tuple/> + <tuple> + <string>Products.ERP5Type.ERP5Type</string> + <string>ERP5TypeInformation</string> + </tuple> + <none/> </tuple> </pickle> <pickle> @@ -41,7 +44,7 @@ </item> <item> <key> <string>acquire_local_roles</string> </key> - <value> <int>0</int> </value> + <value> <int>1</int> </value> </item> <item> <key> <string>allowed_content_types</string> </key> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/scripts/PackingList_calculate.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/scripts/PackingList_calculate.xml index 771ed8627b..e99e128b0d 100644 --- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/scripts/PackingList_calculate.xml +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/scripts/PackingList_calculate.xml @@ -3,8 +3,11 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> + <tuple> + <string>Products.PythonScripts.PythonScript</string> + <string>PythonScript</string> + </tuple> + <none/> </tuple> </pickle> <pickle> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/variables/start_date.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/variables/start_date.xml deleted file mode 100644 index 44577058a4..0000000000 --- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/variables/start_date.xml +++ /dev/null @@ -1,85 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.DCWorkflow.Variables</string> - <string>VariableDefinition</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>default_expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>default_value</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>for_catalog</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>for_status</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>start_date</string> </value> - </item> - <item> - <key> <string>info_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>uid</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>update_always</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>python:state_change.kwargs.get(\'start_date\',state_change[\'object\'].getStartDate())</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/variables/stop_date.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/variables/stop_date.xml deleted file mode 100644 index b6d159025a..0000000000 --- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/variables/stop_date.xml +++ /dev/null @@ -1,85 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.DCWorkflow.Variables</string> - <string>VariableDefinition</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>default_expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>default_value</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>for_catalog</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>for_status</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>stop_date</string> </value> - </item> - <item> - <key> <string>info_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>uid</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>update_always</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>python:state_change.kwargs.get(\'stop_date\',state_change[\'object\'].getStopDate())</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_project/bt/change_log b/bt5/erp5_project/bt/change_log index 7d9d61bc40..7c208771b7 100644 --- a/bt5/erp5_project/bt/change_log +++ b/bt5/erp5_project/bt/change_log @@ -1,3 +1,7 @@ +2007-12-13 yo +* Since Requirement Document is not associated with any workflow to manage security, it didn't make sense not to acquire local roles. +* Remove start_date and stop_date from task_report_causality_workflow. + 2007-12-06 yo * Allow Associate to modify contents of Task and Task Report, so that project managers may change Destination Decision, for example. diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision index 1c34b96390..e41567feb8 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -377 \ No newline at end of file +384 \ No newline at end of file -- 2.30.9