The configuration of the Google API is not documented. Account : [ email@example.com ] Auto synchronize : [ x ] Use local browser : [ x ] Secrets path : [ ] << prefigured, but where is this file ? Credential path : [ credentials.dat ] << prefigured, but where is this file ?
(My karma is insufficient to post a link or a file.. :)) ) So please visit dl.dropboxusercontent.com/u/82752112/google_api.JPG to see what I mean.
but when I hit : "Authorize" I get XmlHttpRequestError And its not fair ;)
Hello Christian Eichert,
By default openerp set the field "secrets path" with value as a "client_secrets.json". But there was no file, we need to provide file name with path where JSON file located.
You can create and download json file from "console.developers.google.com". First create a new project and go to the “APIS & AUTH/ APIs” section. Enable “calendar API”.
Now go to the “Credentials” just below the APIs section of your project and click on “Download JSON" and save this file on a location where your Odoo/OpenERP system has access to it.
In “Secrets path” enter the full path of downloaded json file/ (example: /home/openerp/google_calendar/client_secrets.json).
Enter path for “Credential path” field. When we authorize, google_api will create the credential file and fill data. (example: /home/openerp/google_calendar/credentials.dat). File should have read and write access.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/2/14, 10:58 AM|
|Seen: 875 times|
|Last updated: 3/16/15, 8:10 AM|