[FIX] WIKI: Wiki Pages Application error after clicking on Create Index

lp bug: https://launchpad.net/bugs/736102 fixed

bzr revid: aag@tinyerp.co.in-20110321092755-p2yx10ijm36rmevp
This commit is contained in:
aag (OpenERP)
2011-03-21 14:57:55 +05:30
parent 8c5349a683
commit f611508bfe
+4 -1
View File
@@ -38,7 +38,10 @@ class wiki_make_index(osv.osv_memory):
if context is None:
context = {}
data = context and context.get('active_ids', []) or []
if not data:
return {'type': 'ir.actions.act_window_close'}
for index_obj in self.browse(cr, uid, ids, context=context):
wiki_pool = self.pool.get('wiki.wiki')
cr.execute("Select id, section from wiki_wiki where id IN %s \