[FIX] Domain should be in list.
bzr revid: noz@tinyerp.com-20110607100444-u4ba95ts7tssy1j6
This commit is contained in:
committed by
noz (OpenERP)
parent
6ccb0e047a
commit
74b9c6aa19
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user