odoo/odoo — pull request #767 by bwrsandman (2014-06-25 15:15:19+00:00)
Title: [FIX] prevent type error when remote_addr is None

Fixes #740
Fixes #756

`self.geo_ip_resolver.record_by_addr` fails when `request.httprequest.remote_addr` returns None

Patch will give empty string instead of None. `self.geo_ip_resolver.record_by_addr` will then output None, which is the case 6ba14b38 tried to fix.