[FIX] Ace could not edit inherited views
bzr revid: ddm@openerp.com-20130919145339-0vcs89mcnkgd2ham
This commit is contained in:
parent
be89a0c8bd
commit
2ae6cacf45
|
@ -156,7 +156,7 @@ class Website(openerp.addons.web.controllers.main.Home):
|
|||
'name': v.name,
|
||||
'id': v.id,
|
||||
'header': False,
|
||||
'active': v.inherit_id.id == v.inherit_option_id.id
|
||||
'active': (v.inherit_id.id == v.inherit_option_id.id) or (not optional and v.inherit_id.id)
|
||||
})
|
||||
return result
|
||||
|
||||
|
|
Loading…
Reference in New Issue