Small change

01:44:08  IST) Fabien (fp): Some notes: I think that when you put groups on the view, it's to hide the field, not to put it as readonly.

bzr revid: mga@tinyerp.com-74657c71138c95a49de7b5734d76c1b72b477766
This commit is contained in:
Mantavya Gajjar
2008-03-26 08:06:43 +00:00
parent 5c6316918b
commit 6a62b4ddf3
-1
View File
@@ -1491,7 +1491,6 @@ class orm(object):
else:
if not self.pool.get('ir.model.access').check_groups(cr, user, group_str):
#fields[node.getAttribute('name')] = {'readonly':True}
parent = node.parentNode
parent.removeChild(node)