[FIX] website_hr_recruitment: typo during new API conversion
re fixes #1148
This commit is contained in:
parent
6f1b820d33
commit
1b546a3cd5
|
@ -40,7 +40,7 @@ class website_hr_recruitment(http.Controller):
|
||||||
country_code = request.session['geoip'].get('country_code')
|
country_code = request.session['geoip'].get('country_code')
|
||||||
if country_code:
|
if country_code:
|
||||||
countries_ = Country.search([('code', '=', country_code)])
|
countries_ = Country.search([('code', '=', country_code)])
|
||||||
country = countries[0] if countries_ else None
|
country = countries_[0] if countries_ else None
|
||||||
|
|
||||||
# Filter the matching one
|
# Filter the matching one
|
||||||
if country:
|
if country:
|
||||||
|
|
Loading…
Reference in New Issue