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:
c97d0cc
)
[FIX] website_forum: country_id is an integer field
author
Olivier Dony
<odo@openerp.com>
Tue, 20 May 2014 08:24:33 +0000
(10:24 +0200)
committer
Olivier Dony
<odo@openerp.com>
Tue, 20 May 2014 08:24:33 +0000
(10:24 +0200)
addons/website_forum/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/website_forum/controllers/main.py
b/addons/website_forum/controllers/main.py
index
23a7b9a
..
f196909
100644
(file)
--- a/
addons/website_forum/controllers/main.py
+++ b/
addons/website_forum/controllers/main.py
@@
-585,7
+585,7
@@
class WebsiteForum(http.Controller):
'website': kwargs.get('website'),
'email': kwargs.get('email'),
'city': kwargs.get('city'),
- 'country_id': kwargs.get('country'),
+ 'country_id': int(kwargs.get('country')),
'website_description': kwargs.get('description'),
}, context=request.context)
return werkzeug.utils.redirect("/forum/%s/user/%d" % (slug(forum), user.id))