diff options
| author | Christophe Simonis <chs@openerp.com> | 2013-02-27 18:28:29 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2013-02-27 18:28:29 +0100 |
| commit | dd6a60e2bce93ba3bf6043e51a67272930a2cc53 (patch) | |
| tree | 1dc4d560711249c1add676ca7610b7f8007f53af /addons/web/controllers/main.py | |
| parent | 725a60dc1b273041d2a7a7e14e05e620c89a56cb (diff) | |
[FIX] web: saved_action must start at index 1
bzr revid: chs@openerp.com-20130227172829-zxksmvky3hwltt7l
Diffstat (limited to 'addons/web/controllers/main.py')
| -rw-r--r-- | addons/web/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 9fe38a9d23a..247d6f5dd00 100644 --- 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: |
