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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user