[FIX] share: avoid crash in web addon with empty share filter
bzr revid: odo@openerp.com-20110505170312-zft5wiszaxng8n6q
This commit is contained in:
@@ -12,7 +12,7 @@ class ShareWizardController(openerp.controllers.SecuredController):
|
||||
_cp_path = "/share"
|
||||
|
||||
@expose()
|
||||
def index(self, domain, search_domain, context, view_id, action_id=None):
|
||||
def index(self, domain, context, view_id, search_domain='[]', action_id=None):
|
||||
context = ast.literal_eval(context)
|
||||
|
||||
if not action_id:
|
||||
|
||||
Reference in New Issue
Block a user