From 0870f6e3d5c224fc5f4e01cb3f4c507dd951d540 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Thu, 5 May 2011 19:03:12 +0200 Subject: [PATCH] [FIX] share: avoid crash in web addon with empty share filter bzr revid: odo@openerp.com-20110505170312-zft5wiszaxng8n6q --- addons/share/web/controllers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/share/web/controllers.py b/addons/share/web/controllers.py index 80d4e397aba..e682c8d9709 100644 --- a/addons/share/web/controllers.py +++ b/addons/share/web/controllers.py @@ -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: