temporary fix for allowing everybody to work...
bzr revid: chs@tinyerp.com-5b667f73c019d51003106098efae7151fb5b7f38
This commit is contained in:
parent
e60d3f0acb
commit
f3a2f05dde
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue