projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ccb0e0
)
[FIX] Domain should be in list.
author
Mohammed Shekha(Open ERP)
<>
Tue, 7 Jun 2011 10:04:44 +0000
(15:34 +0530)
committer
noz (OpenERP)
<noz@tinyerp.com>
Tue, 7 Jun 2011 10:04:44 +0000
(15:34 +0530)
bzr revid: noz@tinyerp.com-
20110607100444
-u4ba95ts7tssy1j6
addons/share/web/controllers.py
patch
|
blob
|
history
diff --git
a/addons/share/web/controllers.py
b/addons/share/web/controllers.py
index
1b57d96
..
a59dde6
100644
(file)
--- a/
addons/share/web/controllers.py
+++ b/
addons/share/web/controllers.py
@@
-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