Commit 25a91500 authored by iv's avatar iv

ERP5Workflow: don't use depreciated methods in TALES

parent 5e9317fe
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: [(x.getId(), x.getRelativeUrl()) for x in here.getParent().contentValues(filter={\'portal_type\':[\'Transition\', \'Workflow Script\']})]</string> </value> <value> <string>python: [(x.getId(), x.getRelativeUrl()) for x in here.getParentValue().objectValues(portal_type=[\'Transition\', \'Workflow Script\'])]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: [(x.getId(), x.getRelativeUrl()) for x in here.getParent().contentValues(filter={\'portal_type\':[\'Transition\', \'Workflow Script\']})]</string> </value> <value> <string>python: [(x.getId(), x.getRelativeUrl()) for x in here.getParentValue().objectValues(portal_type=[\'Transition\', \'Workflow Script\'])]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
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