Bugfix
bzr revid: fp@tinyerp.com-25c708b3e55f1bbe1c7be4a34568c503457d5fc1
This commit is contained in:
+1
-1
@@ -1956,7 +1956,7 @@ class orm(object):
|
||||
joins=[]
|
||||
while i<len(args):
|
||||
table=self
|
||||
assert args[i][1] in ('like','ilike','not in','inselect','child_of','in','=','<>','<','>','>=','<='), 'Error ! Bad clause operand "%s".' % (args[i][1],)
|
||||
assert args[i][1] in ('like','ilike','=like','not in','inselect','child_of','in','=','<>','<','>','>=','<='), 'Error ! Bad clause operand "%s".' % (args[i][1],)
|
||||
if args[i][1] == 'inselect':
|
||||
raise except_orm('ValidateError',
|
||||
'The clause \'inselect\' can not be used outside the orm!')
|
||||
|
||||
Reference in New Issue
Block a user