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:
8c34d46
)
[IMP]: wiki: Minor improvement
author
rpa (Open ERP)
<rpa@tinyerp.com>
Tue, 13 Apr 2010 05:02:08 +0000
(10:32 +0530)
committer
rpa (Open ERP)
<rpa@tinyerp.com>
Tue, 13 Apr 2010 05:02:08 +0000
(10:32 +0530)
bzr revid: rpa@tinyerp.com-
20100413050208
-2a6oally83d65u4x
addons/wiki/wiki.py
patch
|
blob
|
history
diff --git
a/addons/wiki/wiki.py
b/addons/wiki/wiki.py
index
2c57b2f
..
a9b6236
100644
(file)
--- a/
addons/wiki/wiki.py
+++ b/
addons/wiki/wiki.py
@@
-186,7
+186,6
@@
class Wiki(osv.osv):
"""
pages = self.pool.get('wiki.wiki').search(cr, uid, [('name', '=', 'Basic Wiki Editing')])
if not pages:
- # return {}
raise osv.except_osv(_('Warning !'), _("No Help page is defined"))
value = {
'view_type': 'form',
@@
-195,9
+194,8
@@
class Wiki(osv.osv):
'view_id': False,
'res_id': pages[0],
'type': 'ir.actions.act_window',
- 'nodestroy':True,
+ 'nodestroy': True,
}
-
return value
Wiki()