Commit ff3feab6 authored by Jérome Perrin's avatar Jérome Perrin

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
parent b18c3021
...@@ -116,7 +116,7 @@ Please wisit ERP5: %(url)s\n ...@@ -116,7 +116,7 @@ Please wisit ERP5: %(url)s\n
""" % {\n """ % {\n
\'assignor\': destination_decision_person.getTitle(),\n \'assignor\': destination_decision_person.getTitle(),\n
\'title\' : packing_list.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 packing_list.getRelativeUrl()),\n
\'comment\' : packing_list.getComment(),\n \'comment\' : packing_list.getComment(),\n
\'start_date\': packing_list.getStartDate().Date(),\n \'start_date\': packing_list.getStartDate().Date(),\n
...@@ -150,6 +150,12 @@ packing_list.activate(after_path_and_method_id=(related_simulation_movement_path ...@@ -150,6 +150,12 @@ packing_list.activate(after_path_and_method_id=(related_simulation_movement_path
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>related_simulation_movement_path_list=None</string> </value> <value> <string>related_simulation_movement_path_list=None</string> </value>
......
390 391
\ No newline at end of file \ 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