Commit 25a91500 authored by iv's avatar iv

ERP5Workflow: don't use depreciated methods in TALES

parent 5e9317fe
......@@ -118,7 +118,7 @@
<dictionary>
<item>
<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>
</dictionary>
</pickle>
......
......@@ -118,7 +118,7 @@
<dictionary>
<item>
<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>
</dictionary>
</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