[FIX]:search_view 'groups=' attribute in the child of a field tag was never evaluted:
Example: <field name='user_id' select='1'> <filter domain='[('user_id','=',uid)]' help='My Sale Orders' icon='terp-personal' groups='base.group_extended'/> bzr revid: nch@tinyerp.com-20101005112653-vg4qh4x5uzt0k2j5
This commit is contained in:
parent
a694aff5c0
commit
794c319ec9
|
@ -1359,8 +1359,8 @@ class orm_template(object):
|
|||
if trans:
|
||||
node.set('sum', trans)
|
||||
|
||||
if childs:
|
||||
for f in node:
|
||||
for f in node:
|
||||
if childs or (node.tag == 'field' and f.tag in ('filter','separator')):
|
||||
fields.update(self.__view_look_dom(cr, user, f, view_id, context))
|
||||
|
||||
return fields
|
||||
|
|
Loading…
Reference in New Issue