Commit 05682910 authored by Jean-Paul Smets's avatar Jean-Paul Smets

missing script_id


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3526 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aea5d22e
...@@ -325,7 +325,7 @@ class Predicate(Folder): ...@@ -325,7 +325,7 @@ class Predicate(Folder):
This method tries to convert the current Document into a predicate This method tries to convert the current Document into a predicate
looking up methods named Class_asPredictae, MetaType_asPredicate, PortalType_asPredicate looking up methods named Class_asPredictae, MetaType_asPredicate, PortalType_asPredicate
""" """
script = self._getTypeBasedMethod('asPredicate') script = self._getTypeBasedMethod('asPredicate', script_id=script_id)
if script is not None: if script is not None:
return script() return script()
return self return self
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