[REVERTER] Reverted MSH's fix for share module
authorJay Vora (OpenERP) <jvo@tinyerp.com>
Tue, 7 Jun 2011 17:28:22 +0000 (22:58 +0530)
committerJay Vora (OpenERP) <jvo@tinyerp.com>
Tue, 7 Jun 2011 17:28:22 +0000 (22:58 +0530)
bzr revid: jvo@tinyerp.com-20110607172822-yl7w47yt08lfp3yt

addons/share/web/controllers.py

index a59dde6..206759d 100644 (file)
@@ -13,9 +13,6 @@ class ShareWizardController(openerp.controllers.SecuredController):
     @expose()
     def index(self, domain, context, view_id, search_domain='[]', action_id=None):
         context = ast.literal_eval(context)
-        
-        if search_domain == 'None':
-            search_domain = '[]'
 
         if not action_id:
             # This should not be needed anymore, but just in case users are