Google Maps distance and duration

by
Odoo
v 7.0 Third Party 358
Download for v 7.0
Required Apps Employee Directory (hr)
Technical Name google_maps_distance_duration
LicenseSee License tab
Websitehttp://www.julius.fr
Repositorylp:julius-openobject-addons/7.0
You bought this module and need support? Click here!

Enter 2 addresses and the system will return a distance and a duration

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
This could be updated in odoo V8 and V9
by
George
on 5/23/16, 5:53 AM

Hi, I was trying to install this module in new versions. Installed success but i could not use it getting error. Error:- Exception during JSON request handling. Traceback (most recent call last): File "D:\Workspace\Janitorial\openerp\http.py", line 540, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "D:\Workspace\Janitorial\openerp\http.py", line 577, in dispatch result = self._call_function(**self.params) File "D:\Workspace\Janitorial\openerp\http.py", line 313, in _call_function return checked_call(self.db, *args, **kwargs) File "D:\Workspace\Janitorial\openerp\service\model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "D:\Workspace\Janitorial\openerp\http.py", line 310, in checked_call return self.endpoint(*a, **kw) File "D:\Workspace\Janitorial\openerp\http.py", line 806, in __call__ return self.method(*args, **kw) File "D:\Workspace\Janitorial\openerp\http.py", line 406, in response_wrap response = f(*args, **kw) File "D:\Workspace\Janitorial\openerp\addons\web\controllers\main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "D:\Workspace\Janitorial\openerp\addons\web\controllers\main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "D:\Workspace\Janitorial\openerp\api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "D:\Workspace\Janitorial\openerp\addons\google_maps_distance_duration\hr.py", line 38, in get_duration duration = maps.duration(origin, destination, mode='transit', departure_time=departure_time) File "D:\Workspace\Janitorial\openerp\addons\google_maps_distance_duration\google_maps.py", line 79, in duration response = self.directions(origin, destination, mode, **kwargs) File "D:\Workspace\Janitorial\openerp\addons\google_maps_distance_duration\google_maps.py", line 72, in directions url, response = fetch_json(self._DIRECTIONS_QUERY_URL, params=params) File "D:\Workspace\Janitorial\openerp\addons\google_maps_distance_duration\google_maps.py", line 49, in fetch_json response = urllib2.urlopen(request) File "C:\Python27\lib\urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "C:\Python27\lib\urllib2.py", line 437, in open response = meth(req, response) File "C:\Python27\lib\urllib2.py", line 550, in http_response 'http', request, response, code, msg, hdrs) File "C:\Python27\lib\urllib2.py", line 475, in error return self._call_chain(*args) File "C:\Python27\lib\urllib2.py", line 409, in _call_chain result = func(*args) File "C:\Python27\lib\urllib2.py", line 558, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 403: Forbidden