From ff3feab6ce49f4109e1e61e1400011314fd7f02e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 21 Feb 2008 15:16:31 +0000
Subject: [PATCH] Prepend /view to the generated URL in the notification
 message

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19453 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../TaskReport_copyOrderPropertiesAndNotifyAssignee.xml   | 8 +++++++-
 bt5/erp5_project/bt/revision                              | 2 +-
 bt5/erp5_project/bt/template_catalog_local_role_key_list  | 0
 bt5/erp5_project/bt/template_catalog_role_key_list        | 0
 4 files changed, 8 insertions(+), 2 deletions(-)
 create mode 100644 bt5/erp5_project/bt/template_catalog_local_role_key_list
 create mode 100644 bt5/erp5_project/bt/template_catalog_role_key_list

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 d70ce3e0be..816c402228 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
@@ -116,7 +116,7 @@ Please wisit ERP5: %(url)s\n
 """ % {\n
        \'assignor\': destination_decision_person.getTitle(),\n
        \'title\'   : packing_list.getTitle(),\n
-       \'url\'     : \'%s/%s\' % (packing_list.ERP5Site_getAbsoluteUrl(),\n
+       \'url\'     : \'%s/%s/view\' % (packing_list.ERP5Site_getAbsoluteUrl(),\n
                               packing_list.getRelativeUrl()),\n
        \'comment\' : packing_list.getComment(),\n
        \'start_date\': packing_list.getStartDate().Date(),\n
@@ -150,6 +150,12 @@ packing_list.activate(after_path_and_method_id=(related_simulation_movement_path
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>_params</string> </key>
             <value> <string>related_simulation_movement_path_list=None</string> </value>
diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision
index 903dc0f537..116f2e3e62 100644
--- a/bt5/erp5_project/bt/revision
+++ b/bt5/erp5_project/bt/revision
@@ -1 +1 @@
-390
\ No newline at end of file
+391
\ No newline at end of file
diff --git a/bt5/erp5_project/bt/template_catalog_local_role_key_list b/bt5/erp5_project/bt/template_catalog_local_role_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_project/bt/template_catalog_role_key_list b/bt5/erp5_project/bt/template_catalog_role_key_list
new file mode 100644
index 0000000000..e69de29bb2
-- 
2.30.9