temporary fix for allowing everybody to work...

bzr revid: chs@tinyerp.com-5b667f73c019d51003106098efae7151fb5b7f38
This commit is contained in:
Christophe Simonis 2008-06-30 07:10:16 +00:00
parent e60d3f0acb
commit f3a2f05dde
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class ir_model_access(osv.osv):
'WHERE a.group_id IS NULL AND m.model = %s', (model_name,))
r= cr.fetchall()
if r[0][0] == None:
return False # by default, the user had no access
return True
if not r[0][0]:
if raise_exception: