[FIX] Ace could not edit inherited views

bzr revid: ddm@openerp.com-20130919145339-0vcs89mcnkgd2ham
This commit is contained in:
ddm 2013-09-19 16:53:39 +02:00
parent be89a0c8bd
commit 2ae6cacf45
1 changed files with 1 additions and 1 deletions

View File

@ -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