[FIX] Domain should be in list.

bzr revid: noz@tinyerp.com-20110607100444-u4ba95ts7tssy1j6
This commit is contained in:
Mohammed Shekha(Open ERP)
2011-06-07 15:34:44 +05:30
committed by noz (OpenERP)
parent 6ccb0e047a
commit 74b9c6aa19
+3 -2
View File
@@ -7,14 +7,15 @@ from openerp.utils import rpc
import openerp.controllers
import cherrypy
class ShareWizardController(openerp.controllers.SecuredController):
_cp_path = "/share"
@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