Changes

Jump to navigation Jump to search
m
Line 21: Line 21:  
|prerequisites=
 
|prerequisites=
 
|minversion=3.9+
 
|minversion=3.9+
 +
- Your instance must be on a secured URL (it must start with https:// and not with http://)
 +
 
- Having module openssl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "openssl". If you don't find, openssl module is not installed.
 
- Having module openssl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "openssl". If you don't find, openssl module is not installed.
   Line 26: Line 28:     
- Having module curl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "curl". If you don't find, curl module is not installed.
 
- Having module curl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "curl". If you don't find, curl module is not installed.
 +
 +
- To use the Maps and geocoding service, you must enable the billing on your Google account. Price is 0.005 € per address.
 
|note=
 
|note=
 
}}
 
}}
Line 120: Line 124:  
With Google Apps for work (not required for standard gmail account), permissions may be forced to "Ready only" instead of "Edit". To solve this, go onto  
 
With Google Apps for work (not required for standard gmail account), permissions may be forced to "Ready only" instead of "Edit". To solve this, go onto  
 
{{GoogleURLToSetupCalendarAppSharing}}
 
{{GoogleURLToSetupCalendarAppSharing}}
and check that sharing option of Agenda application allows sharing with external service account. [[File:Warning.png]] A 24h delay may be required to be able to return and finish step 5.
+
and check that sharing option of Agenda application allows sharing with external service account. [[File:Warning.png]] A 24h delay may be required to be able to return and finish step 5.
      Line 147: Line 151:  
This module allows you to synchronize Dolibarr with your Google contact annuary. The object you can synchronize are:
 
This module allows you to synchronize Dolibarr with your Google contact annuary. The object you can synchronize are:
   −
* Third-Parties
+
* Third Parties
 
* Addresses
 
* Addresses
 
* Members of the module Association / Foundation
 
* Members of the module Association / Foundation
   −
Synchronisation can be done toward only 1 Google account. However, using the Google sharing features (delegate contacts), several Google accounts could see them.
+
Synchronisation can be done toward only 1 Google account. However, using the Google sharing features (delegate contacts), several Google users with different accounts could see them.
      Line 159: Line 163:  
2) Then go on the setup page of Google module in Dolibarr, choose all Dolibarr elements you want to synchronize among (You can choose several choices):
 
2) Then go on the setup page of Google module in Dolibarr, choose all Dolibarr elements you want to synchronize among (You can choose several choices):
   −
*Thirdparties (if module Thirdparty is enabled)
+
* Third parties (if module Third party is enabled)
*Contacts/addresses of thirdparties (if module Thirdparty is enabed)
+
* Contacts/addresses of thirdparties (if module Third party is enabed)
*Members (if module foundation members is enabled)
+
* Members (if module foundation members is enabled)
    
For each type of synchronization activated, enter a label of the Google Group of your choice. This is the group visible into Google to group all records together. Group will be created into Google Contact if not exists. You can also use a label of one of any predefined Google system group like: '''"System Group: My Contacts", "System Group: Friend", "System Group: CoWorker", "System Group: Family"'''
 
For each type of synchronization activated, enter a label of the Google Group of your choice. This is the group visible into Google to group all records together. Group will be created into Google Contact if not exists. You can also use a label of one of any predefined Google system group like: '''"System Group: My Contacts", "System Group: Friend", "System Group: CoWorker", "System Group: Family"'''
Line 197: Line 201:  
==Setup of GMaps features==
 
==Setup of GMaps features==
   −
1) You must first enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Authentication" -> "Enable API". Click to enable API for "Google Maps Geocoding API" and "Google Maps JavaScript API".
+
1) You must first enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Service" -> "Enable API & Services". Click to enable API for "Google Maps Geocoding API" and "Google Maps JavaScript API".
 +
 
 +
2) Create an API key of type "Server". You must check that the value for
 +
'''Restrictions relative to applications''' is on '''None'''
 +
'''Restrictions relative to API''' is on '''No restriction''' or, for a more secured usage, set to Restricted to the 2 APIs '''GeoCoding API''' and '''Maps Javascript API'''.
 +
Then save the API key on the setup page of module Google in Dolibarr, tab GMaps.
   −
2) Create an API key of type "Server" and enter it on the setup page of module Google in Dolibarr, tab GMaps.
+
3) You must enable the "billing" of APIs on your Google account (price is 0.005 € per geo-encoded address)
    
===Link to localize a specific address===
 
===Link to localize a specific address===

Navigation menu