[Erp5-report] r27217 - in /erp5/trunk/bt5/erp5_item: SkinTemplateItem/portal_skins/erp5_ite...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 27 17:22:00 CEST 2009
Author: mame
Date: Wed May 27 17:22:00 2009
New Revision: 27217
URL: http://svn.erp5.org?rev=27217&view=rev
Log:
2009-05-27 mame
* modified script to remove getPath() et replace it with absolute_url()
Modified:
erp5/trunk/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_getTrackingFormUrl.xml
erp5/trunk/bt5/erp5_item/bt/revision
Modified: erp5/trunk/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_getTrackingFormUrl.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_getTrackingFormUrl.xml?rev=27217&r1=27216&r2=27217&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_getTrackingFormUrl.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_getTrackingFormUrl.xml [utf8] Wed May 27 17:22:00 2009
@@ -10,20 +10,8 @@
<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>
@@ -67,26 +55,11 @@
<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>
<key> <string>_code</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_filepath</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_owner</string> </key>
<value>
<none/>
</value>
@@ -123,8 +96,6 @@
<string>_getattr_</string>
<string>_getitem_</string>
<string>item</string>
- <string>item_url</string>
- <string>affectation_form_name</string>
</tuple>
</value>
</item>
Modified: erp5/trunk/bt5/erp5_item/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_item/bt/revision?rev=27217&r1=27216&r2=27217&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_item/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_item/bt/revision [utf8] Wed May 27 17:22:00 2009
@@ -1,1 +1,1 @@
-135
+136
More information about the Erp5-report
mailing list