8000 [IMP] crm: update doc to sync with Google Calendar + misc imp in simi… · Ali1384/documentation-user@a97b14e · GitHub
[go: up one dir, main page]

Skip to content

Commit a97b14e

Browse files
fgi-odootivisse
authored andcommitted
[IMP] crm: update doc to sync with Google Calendar + misc imp in similar doc for google analytics
1 parent 04e4ced commit a97b14e

13 files changed

+81
-44
lines changed
Lines changed: 50 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,84 @@
1-
=====================================================
2-
How to synchronize your calendar with Google Calendar
3-
=====================================================
1+
==========================================================
2+
How to synchronize your Odoo Calendar with Google Calendar
3+
==========================================================
44

5-
- Connect on your google account and go to `https://console.developers.google.com/ <https://console.developers.google.com/>`_.
5+
Odoo is perfectly integrated with Google Calendar so that you
6+
can see & manage your meetings from both platforms
7+
(updates go through both directions).
68

7-
- Click on **Create a project...** and enter a project name and change your id if you want.
8-
Don't forget to accept the Terms of Services
9+
Setup in Google
10+
===============
11+
- Go to `Google APIs platform <https://console.developers.google.com>`__
12+
to generate Google Calendar API credentials. Log in with your Google account.
13+
14+
- Choose *Calendar API*.
915

1016
.. image:: media/google_calendar_credentials01.png
1117
:align: center
1218

13-
- In the menu on left side, select the sub menu APIs (from menu APIs and auth) and click on 'Calendar API'.
14-
Activate the Calendar API by clicking on the blue button 'Enable API'.
15-
When it's done, the Calendar API overview will be available
19+
- Create a new project and give it a name (e.g. Odoo). This project is needed
20+
to store your API credentials.
1621

1722
.. image:: media/google_calendar_credentials02.png
1823
:align: center
1924

25+
- Enable the API.
26+
2027
.. image:: media/google_calendar_credentials03.png
2128
:align: center
2229

30+
- Create credentials to use in Odoo.
31+
2332
.. image:: media/google_calendar_credentials04.png
2433
:align: center
2534

26-
- In the menu on left side, select the sub menu 'Credentials' (from menu APIs and auth) and click on
27-
button 'Create new Client ID'
35+
- Select *Web browser (Javascript)*
36+
as calling source and *User data* as kind of data.
2837

2938
.. image:: media/google_calendar_credentials05.png
3039
:align: center
3140

32-
- Check that the Application type is set on 'Web Application', then click on 'Configure consent screen'.
33-
Specify an email address and a product name, then save.
41+
- Then you can create a Client ID.
42+
Enter the name of the application (e.g. Odoo) and the allowed pages on
43+
which you will be redirected. The *Authorized JavaScript origin* is your
44+
Odoo's instance URL. The *Authorized redirect URI* is your Odoo's instance
45+
URL followed by '/google_account/authentication'.
3446

3547
.. image:: media/google_calendar_credentials06.png
3648
:align: center
3749

50+
- Go through the Consent Screen step by entering a product name
51+
(e.g. Odoo). Feel free to check the customizations options
52+
but this is not mandatory. The Consent Screen will only show up when you
53+
enter the Client ID in Odoo for the first time.
54+
55+
- Finally you are provided with your **Client ID**. Go to *Credentials* to
56+
get the **Client secret** as well. You will need both of them in Odoo.
57+
3858
.. image:: media/google_calendar_credentials07.png
3959
:align: center
4060

41-
You should now configure the allowed pages on which you will be redirected. To do it, you need to complete the field "Authorized redirect URI" and set as value (your own domain followed by '/google_account/authentication'):
42-
==> http://mydomain.odoo.com/google_account/authentication
43-
You can now click on 'Create Client ID'
61+
Setup in Odoo
62+
=============
63+
64+
- Install **Google Calendar** app.
4465

4566
.. image:: media/google_calendar_credentials08.png
4667
:align: center
4768

48-
- Once done, you will have the both informations (Client ID and Client Secret) that you need to insert in the 2 fields below!
69+
- Go to :menuselection:`Settings --> General Settings` and enter your
70+
credentials in Google Calendar option.
4971

5072
.. image:: media/google_calendar_credentials09.png
5173
:align: center
74+
75+
- The setup is now ready. Open your Odoo Calendar and sync with Google.
76+
The first time you do it you are redirected to Google to authorize
77+
the connection. Once back in Odoo, click the sync button again.
78+
You can click it whenever you want to synchronize your calendar.
79+
80+
.. image:: media/google_calendar_credentials10.png
F438 81+
:align: center
82+
83+
As of now you no longer have excuses to miss a meeting!
84+
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)
0