[FIX] expected browse_record can be an integer
authorXavier Morel <xmo@openerp.com>
Tue, 15 Jul 2014 08:50:49 +0000 (10:50 +0200)
committerXavier Morel <xmo@openerp.com>
Tue, 15 Jul 2014 08:50:49 +0000 (10:50 +0200)
commit03977a29e681b4c841cc1e5c65cd7ed478d672dc
tree77ff65cba01bcf8606118e859f24933160bb954b
parent736c5dd87ec9e60c3c83293e88123d569c5b4a27
[FIX] expected browse_record can be an integer

If no filter is specified, the geoip library is installed and the user's
address can be geolocated, ``country`` is assigned an integer (the id of the
matching country) whereas the filtering code expects a browse.

fixes #1148
addons/website_hr_recruitment/controllers/main.py