projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf6a2fa
)
Bugfixes
author
pinky
<>
Sat, 10 Mar 2007 04:42:34 +0000
(
04:42
+0000)
committer
pinky
<>
Sat, 10 Mar 2007 04:42:34 +0000
(
04:42
+0000)
bzr revid: pinky-
5d97a4653ba145caf3f52b31c853bef0bfe9ae78
bin/addons/base/res/res_user.py
patch
|
blob
|
history
diff --git
a/bin/addons/base/res/res_user.py
b/bin/addons/base/res/res_user.py
index
d051742
..
7895595
100644
(file)
--- a/
bin/addons/base/res/res_user.py
+++ b/
bin/addons/base/res/res_user.py
@@
-52,7
+52,7
@@
class roles(osv.osv):
cr.execute('select parent_id from res_roles where id=%d', (role_id,))
roles = cr.fetchone()[0]
if roles:
- return self.check(cr, uid, ids, roles[0])
+ return self.check(cr, uid, ids, roles)
return False
roles()