diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReport_copyOrderPropertiesAndNotifyAssignee.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReport_copyOrderPropertiesAndNotifyAssignee.xml index de58cd99c6413b19c8acdfa6c90be35f9d380a9a..cd8944236d7bc214679db062e01c918f531a38ff 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReport_copyOrderPropertiesAndNotifyAssignee.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReport_copyOrderPropertiesAndNotifyAssignee.xml @@ -107,7 +107,7 @@ if source_person is not None \\\n and destination_decision_person.getDefaultEmailText() \\\n and destination_decision_person.getReference():\n source_user = portal.portal_membership.getMemberById(source_person.getReference())\n - if source_user is not None and source_user.has_permission(\'View\', task_report):\n + if source_user is not None:\n message = """A new task has been assigned to you by %(assignor)s.\n \n This task is named: %(title)s\n diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReportWorkflow_notifyFinishedTaskReport.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReportWorkflow_notifyFinishedTaskReport.xml index 034812ce4c79ae53167dd020e5f076b9d560145a..872b5484060fba8b9cdb9f843a2e8160201cec2d 100644 --- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReportWorkflow_notifyFinishedTaskReport.xml +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReportWorkflow_notifyFinishedTaskReport.xml @@ -81,7 +81,7 @@ if source_person is not None \\\n and destination_decision_person.getDefaultEmailText() \\\n and destination_decision_person.getReference():\n source_user = portal.portal_membership.getMemberById(source_person.getReference())\n - if source_user is not None and source_user.has_permission(\'View\', task_report):\n + if source_user is not None:\n message = """\n %s has finished the task report titled with %s.\n Please look at this URL:\n diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReport_notifyAssignee.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReport_notifyAssignee.xml index 8f21dbfd8b3b2e3b9ec9426e9c5f22d95960e310..e9ed3fc5110fbdc694b022c2b1b9c418a00781b7 100644 --- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReport_notifyAssignee.xml +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReport_notifyAssignee.xml @@ -95,7 +95,7 @@ if source_person is not None \\\n and source_person.getDefaultEmailText() \\\n and source_person.getReference():\n source_user = portal.portal_membership.getMemberById(source_person.getReference())\n - if source_user is not None and source_user.has_permission(\'View\', task_report):\n + if source_user is not None:\n message = """\n A question from task has been assigned to you by %(assignor)s.\n \n diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReport_notifyRestartToAssignee.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReport_notifyRestartToAssignee.xml index d773aaebb42f06e201e3b557a5faf46a474fdd5b..629fc0a623a80b4f46d6d7c211790c3878665084 100644 --- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReport_notifyRestartToAssignee.xml +++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/scripts/TaskReport_notifyRestartToAssignee.xml @@ -81,7 +81,7 @@ if source_person is not None \\\n and source_person.getDefaultEmailText() \\\n and source_person.getReference():\n source_user = portal.portal_membership.getMemberById(source_person.getReference())\n - if source_user is not None and source_user.has_permission(\'View\', task_report):\n + if source_user is not None:\n message = """\n Restarted task has been assigned to you by %(assignor)s.\n \n diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision index 09c40390ccf82d46abffeb47fda1fffd5d96a0bf..99fd4575a5ff12376011dfb2330fa46fa8167e3e 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -576 \ No newline at end of file +577 \ No newline at end of file