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:
777d406
)
[FIX] ir_values : get() corrected for toolbar actions/reports/act_windows
author
Jay (Open ERP)
<jvo@tinyerp.com>
Thu, 3 Jun 2010 06:48:32 +0000
(12:18 +0530)
committer
Jay (Open ERP)
<jvo@tinyerp.com>
Thu, 3 Jun 2010 06:48:32 +0000
(12:18 +0530)
bzr revid: jvo@tinyerp.com-
20100603064832
-m5wdkfz2l0lgor5b
bin/addons/base/ir/ir_values.py
patch
|
blob
|
history
diff --git
a/bin/addons/base/ir/ir_values.py
b/bin/addons/base/ir/ir_values.py
index
329335d
..
056ace7
100644
(file)
--- a/
bin/addons/base/ir/ir_values.py
+++ b/
bin/addons/base/ir/ir_values.py
@@
-233,7
+233,7
@@
class ir_values(osv.osv):
(tuple(groups), uid)
)
cnt = cr.fetchone()[0]
- if cnt:
+ if not cnt:
res2.remove(r)
if r[1] == 'Menuitem' and not res2:
raise osv.except_osv('Error !','You do not have the permission to perform this operation !!!')