Commit 444282bd authored by Mame Coumba Sall's avatar Mame Coumba Sall

2009-05-27 mame

* modified script to remove getPath() et replace it with absolute_url()

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27217 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 51fcc20c
......@@ -9,22 +9,10 @@
</pickle>
<pickle>
<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>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
......@@ -67,10 +55,7 @@
<key> <string>_body</string> </key>
<value> <string>item = kw[\'brain\'].getObject()\n
\n
item_url = item.getPath()\n
affectation_form_name = \'Item_viewTrackingList\'\n
\n
return \'%s/%s\' % (item_url, affectation_form_name)\n
return \'%s/Item_viewTrackingList\' % item.absolute_url()\n
</string> </value>
</item>
<item>
......@@ -79,18 +64,6 @@ return \'%s/%s\' % (item_url, affectation_form_name)\n
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
......@@ -123,8 +96,6 @@ return \'%s/%s\' % (item_url, affectation_form_name)\n
<string>_getattr_</string>
<string>_getitem_</string>
<string>item</string>
<string>item_url</string>
<string>affectation_form_name</string>
</tuple>
</value>
</item>
......
135
\ No newline at end of file
136
\ 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