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 @@ ...@@ -9,22 +9,10 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>Script_magic</string> </key> <key> <string>Script_magic</string> </key>
<value> <int>3</int> </value> <value> <int>3</int> </value>
</item> </item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_bind_names</string> </key> <key> <string>_bind_names</string> </key>
<value> <value>
...@@ -67,10 +55,7 @@ ...@@ -67,10 +55,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>item = kw[\'brain\'].getObject()\n <value> <string>item = kw[\'brain\'].getObject()\n
\n \n
item_url = item.getPath()\n return \'%s/Item_viewTrackingList\' % item.absolute_url()\n
affectation_form_name = \'Item_viewTrackingList\'\n
\n
return \'%s/%s\' % (item_url, affectation_form_name)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -79,18 +64,6 @@ return \'%s/%s\' % (item_url, affectation_form_name)\n ...@@ -79,18 +64,6 @@ return \'%s/%s\' % (item_url, affectation_form_name)\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</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>**kw</string> </value> <value> <string>**kw</string> </value>
...@@ -123,8 +96,6 @@ return \'%s/%s\' % (item_url, affectation_form_name)\n ...@@ -123,8 +96,6 @@ return \'%s/%s\' % (item_url, affectation_form_name)\n
<string>_getattr_</string> <string>_getattr_</string>
<string>_getitem_</string> <string>_getitem_</string>
<string>item</string> <string>item</string>
<string>item_url</string>
<string>affectation_form_name</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
135 136
\ 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