Changes

Jump to navigation Jump to search
Line 124: Line 124:  
This module allows you to synchronize Dolibarr with your Google contact annuary. Synchronisation of contacts can be done toward only one Google account. However, using the Google sharing features (delegate contacts), everybody could see them.
 
This module allows you to synchronize Dolibarr with your Google contact annuary. Synchronisation of contacts can be done toward only one Google account. However, using the Google sharing features (delegate contacts), everybody could see them.
    +
1) You must also enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Authentication" -> "API". Click to enable API for "Calendar API".
   −
First, choose all Dolibarr elements you want to synchronize among (You can choose several choices):
+
2) First, choose all Dolibarr elements you want to synchronize among (You can choose several choices):
 
* Thirdparties (if module Thirdparty is enabled)
 
* Thirdparties (if module Thirdparty is enabled)
 
* Contacts/addresses of thirdparties (if module Thirdparty is enabed)
 
* Contacts/addresses of thirdparties (if module Thirdparty is enabed)
Line 136: Line 137:  
Then enter the following information:
 
Then enter the following information:
   −
1) The Google login account (example myaccount@gmail.com or myname@mycompany.com)
+
1) The Google login account (example myaccount@gmail.com or myname@mycompany.com)
   −
2) The Google Client ID and the Google Client Secret. You can create your Google Client ID and Secret from page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Authentication" -> "Credentials". Click on "Create a client ID" and choose "Web Application", set "Allowed Javascript origin" to empty and set "Redirect URI" to the value provided into the "Note" on the setup page. It should be something like http://mycompanydomain/.../google/oauth2callback.php
+
2) The Google Client ID and the Google Client Secret. You can create your Google Client ID and Secret from page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Authentication" -> "Credentials". Click on "Create a client ID" and choose "Web Application", set "Allowed Javascript origin" to empty and set "Redirect URI" to the value provided into the "Note" on the setup page. It should be something like http://mycompanydomain/.../google/oauth2callback.php
 
Then click on button "Create". You will get a new '''Client ID''' and a '''Secret code'''.
 
Then click on button "Create". You will get a new '''Client ID''' and a '''Secret code'''.
   −
3) Save the Google setup page after filling Client ID and Secret Code.
+
3) Save the Google setup page after filling Client ID and Secret Code.
   −
4) A warning should say you don't have yet any Google token saved into your Dolibarr database. Click on the link to authenticate, enter your Google credential if requested (same account than the account entered at step 1) and accept any confirmation. You should go back on the Dolibarr setup page, but a value for the token, saved into your Dolibarr database should appears.
+
4) A warning should say you don't have yet any Google token saved into your Dolibarr database. Click on the link to authenticate, enter your Google credential if requested (same account than the account entered at step 1) and accept any confirmation. You should go back on the Dolibarr setup page, but a value for the token, saved into your Dolibarr database should appears.
   −
Buttons to make synchronization tests should be available. Click on them to make tests.
+
Buttons to make synchronization tests should be available. Click on them to make tests.
     

Navigation menu