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:
89ee71e
)
[FIX] regenerate action's views key if it is empty, not just if it's absent
author
Xavier Morel
<xmo@openerp.com>
Mon, 12 Dec 2011 10:11:21 +0000
(11:11 +0100)
committer
Xavier Morel
<xmo@openerp.com>
Mon, 12 Dec 2011 10:11:21 +0000
(11:11 +0100)
lp bug: https://launchpad.net/bugs/903062 fixed
bzr revid: xmo@openerp.com-
20111212101121
-ljjmq6phxgse0qjq
addons/web/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/web/controllers/main.py
b/addons/web/controllers/main.py
index
27cde36
..
397a6a0
100644
(file)
--- a/
addons/web/controllers/main.py
+++ b/
addons/web/controllers/main.py
@@
-604,7
+604,7
@@
def fix_view_modes(action):
:param dict action: an action descriptor
:returns: nothing, the action is modified in place
"""
- if 'views' not in action:
+ if not action.get('views'):
generate_views(action)
id_form = None