Commit 990ccb00 authored by Mame Coumba Sall's avatar Mame Coumba Sall

2009-02-27 mame

* change it back to current tracking list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25744 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 962aed5b
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<value> <string>from DateTime import DateTime\n <value> <string>from DateTime import DateTime\n
\n \n
date = DateTime()\n date = DateTime()\n
last_affectation = context.portal_simulation.getTrackingList(item=context.getRelativeUrl(), at_date=date)\n last_affectation = context.portal_simulation.getCurrentTrackingList(item=context.getRelativeUrl(), at_date=date)\n
\n \n
if len(last_affectation) == 0:\n if len(last_affectation) == 0:\n
return None\n return None\n
......
...@@ -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>
...@@ -85,18 +73,6 @@ return None\n ...@@ -85,18 +73,6 @@ return None\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></string> </value> <value> <string></string> </value>
......
...@@ -53,8 +53,7 @@ ...@@ -53,8 +53,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>context.log(context.Item_getResourceValue())\n <value> <string>if context.Item_getResourceValue() is not None:\n
if context.Item_getResourceValue() is not None:\n
return context.Item_getResourceValue().getTitle()\n return context.Item_getResourceValue().getTitle()\n
return \'\'\n return \'\'\n
</string> </value> </string> </value>
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
#kw[\'at_date\'] = DateTime()\n #kw[\'at_date\'] = DateTime()\n
kw[\'item\'] = context.getRelativeUrl()\n kw[\'item\'] = context.getRelativeUrl()\n
\n \n
last_affectation_list = context.portal_simulation.getTrackingList(**kw)\n last_affectation_list = context.portal_simulation.getCurrentTrackingList(**kw)\n
\n \n
if kw.get(\'src__\',0):\n if kw.get(\'src__\',0):\n
return last_affectation_list\n return last_affectation_list\n
......
58 59
\ 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