Commit 7b61f00c authored by Sebastien Robin's avatar Sebastien Robin

rename is_predicate by isPredicate


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2820 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e064af7d
...@@ -46,7 +46,7 @@ class PredicateGroup(Folder, Predicate): ...@@ -46,7 +46,7 @@ class PredicateGroup(Folder, Predicate):
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
is_predicate = 1 isPredicate = 1
_operators = ( _operators = (
{ {
...@@ -202,6 +202,7 @@ identify a bank account.""" ...@@ -202,6 +202,7 @@ identify a bank account."""
self._identity_criterion[property] = identity self._identity_criterion[property] = identity
if min != '' or max != '' : if min != '' or max != '' :
self._range_criterion[property] = (min, max) self._range_criterion[property] = (min, max)
self.reindexObject()
security.declareProtected( Permissions.ModifyPortalContent, 'edit' ) security.declareProtected( Permissions.ModifyPortalContent, 'edit' )
def edit(self, **kwd) : def edit(self, **kwd) :
......
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