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:
725a60d
)
[FIX] web: saved_action must start at index 1
author
Christophe Simonis
<chs@openerp.com>
Wed, 27 Feb 2013 17:28:29 +0000
(18:28 +0100)
committer
Christophe Simonis
<chs@openerp.com>
Wed, 27 Feb 2013 17:28:29 +0000
(18:28 +0100)
bzr revid: chs@openerp.com-
20130227172829
-zxksmvky3hwltt7l
addons/web/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/web/controllers/main.py
b/addons/web/controllers/main.py
index
9fe38a9
..
247d6f5
100644
(file)
--- a/
addons/web/controllers/main.py
+++ b/
addons/web/controllers/main.py
@@
-866,7
+866,7
@@
class Session(openerpweb.Controller):
"""
saved_actions = req.httpsession.get('saved_actions')
if not saved_actions:
- saved_actions = {"next":0, "actions":{}}
+ saved_actions = {"next":1, "actions":{}}
req.httpsession['saved_actions'] = saved_actions
# we don't allow more than 10 stored actions
if len(saved_actions["actions"]) >= 10: