Author: |
Onestein |
License: |
AGPL-3 |
Branch: |
merge-branch-2549-12.0.11.2.0 |
Repository: |
camptocamp/addons-onestein |
Dependencies: |
base_setup,
calendar,
and
web |
Languages: |
HTML (363, 27.7%),
JSON (284, 21.7%),
JavaScript (54, 4.1%),
Python (461, 35.2%),
Sass (6, 0.5%),
XML (66, 5.0%),
and
reStructuredText (75, 5.7%) |
Other branches: |
12.0,
bszi-388,
merge-branch-2549-12.0.11.0.0,
merge-branch-2549-12.0.11.0.1,
merge-branch-2549-12.0.11.0.2,
merge-branch-2549-12.0.11.1.0,
merge-branch-2549-12.0.11.1.1,
merge-branch-2549-12.0.11.1.2,
merge-branch-2549-12.0.11.3.0,
merge-branch-2549-12.0.11.3.1,
merge-branch-2549-12.0.11.3.2,
merge-branch-2549-12.0.11.3.3,
merge-branch-2549-12.0.11.4.0,
merge-branch-2549-12.0.11.4.1,
merge-branch-2549-12.0.11.4.2,
merge-branch-2549-12.0.11.4.3,
merge-branch-2549-12.0.12.0.0,
merge-branch-2549-12.0.12.1.0,
merge-branch-2549-12.0.12.1.1,
merge-branch-2549-12.0.12.2.0,
merge-branch-2549-12.0.12.3.0,
merge-branch-2549-12.0.13.0.0,
merge-branch-2549-12.0.13.0.1,
merge-branch-2549-12.0.13.0.2,
merge-branch-2549-12.0.13.1.0,
merge-branch-2549-12.0.13.1.1,
merge-branch-2549-12.0.13.2.0,
merge-branch-2549-12.0.13.3.0,
merge-branch-2549-12.0.14.0.0,
merge-branch-2549-12.0.14.0.1,
merge-branch-2549-12.0.14.0.2,
merge-branch-2549-12.0.14.1.0,
merge-branch-2549-12.0.14.1.1,
merge-branch-2549-12.0.14.1.2,
merge-branch-2549-12.0.15.0.0,
merge-branch-2549-12.0.15.1.0,
merge-branch-2549-12.0.15.1.1,
merge-branch-2549-12.0.15.1.2,
merge-branch-2549-12.0.15.2.0,
merge-branch-2549-12.0.16.0.0,
merge-branch-2549-12.0.16.0.1,
merge-branch-2549-12.0.16.0.2,
merge-branch-2549-12.0.16.0.3,
merge-branch-2549-12.0.17.0.0,
merge-branch-2549-12.0.17.1.0,
merge-branch-2549-12.0.17.1.1,
merge-branch-2549-12.0.17.2.0,
merge-branch-2549-12.0.18.1.0,
merge-branch-2549-12.0.19.0.0,
merge-branch-2549-12.0.2.1.0,
merge-branch-2549-12.0.2.1.1,
merge-branch-2549-12.0.2.1.2,
merge-branch-2549-12.0.2.2.0,
merge-branch-2549-12.0.2.3.0,
merge-branch-2549-12.0.2.4.0,
merge-branch-2549-12.0.2.5.0,
merge-branch-2549-141_get_code_from_hr_instance-169d392e,
merge-branch-2549-BSZI-323-126c2271,
merge-branch-2549-BSZI-388-1035219a,
merge-branch-2549-BSZI-388-7cbfd725,
merge-branch-2549-BSZI-388-7e16d469,
merge-branch-2549-BSZI-388-a476751c,
merge-branch-2549-BSZI-73-87188460,
merge-branch-2549-bszi-388_and_force_sso-dfab94b1,
merge-branch-2549-bszi-54-add-office365-00d8c479,
merge-branch-2549-bszi-54-add-office365-bde88ab8,
merge-branch-2549-fix_connector_office-2deac33e,
merge-branch-2549-master-10e79145,
merge-branch-2549-master-5db7bf5b,
and
merge-branch-2549-master-ef92b835 |
Other repositories: |
AEK-BKF/addons-onestein,
RL-OtherApps/addons-onestein,
a0c/addons-onestein,
aurestic/addons-onestein,
brain-tec/addons-onestein,
guewen/addons-onestein,
gurneyalex/addons-onestein,
inforpordev/addons-onestein,
izzihector/addons-onestein,
leodoooca/addons-onestein,
lnkdel/addons-onestein,
marcelsavegnago/addons-onestein,
nvq247/addons-onestein,
onesteinbv/addons-onestein,
royalline1/addons-onestein,
shouyejing/addons-onestein,
tekcloud/addons-onestein,
tschanzt/addons-onestein,
and
vidtsin/addons-onestein |
<h1 class="title">Office 365 Connector</h1>
<p><a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a></p>
<p>This module allows you to synchronize your Office 365 calendar with Odoo.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#installation" id="id1">Installation</a></li>
<li><a class="reference internal" href="#configuration" id="id2">Configuration</a></li>
<li><a class="reference internal" href="#usage" id="id3">Usage</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="id4">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#credits" id="id5">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id6">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li>
</ul>
</li>
</ul>
</div>
<a name="installation"></a>
<h2><a class="toc-backref" href="#id1">Installation</a></h2>
<p>For this module you need to install <code>requests-oauthlib</code>.</p>
<p>Open the terminal and run: <code>sudo pip3 install requests-oauthlib</code></p>
<a name="configuration"></a>
<h2><a class="toc-backref" href="#id2">Configuration</a></h2>
<p>First you have to register your Odoo server with the Microsoft App Registration Portal:</p>
<ol class="arabic simple">
<li>Go to <a class="reference external" href="https://apps.dev.microsoft.com/">https://apps.dev.microsoft.com/</a>;</li>
<li>under Converged applications click 'Add an app';</li>
<li>fill in any name e.g. 'My Odoo Server';</li>
<li>click 'Generate New Password' and store the password we will need it later;</li>
<li>click 'Add Platform' and select 'Web';</li>
<li>enter the redirect url e.g.: '<a class="reference external" href="https://yourodooserver.com/office-365-oauth/success">https://yourodooserver.com/office-365-oauth/success</a>' replace 'yourodooserver.com' with the address of your Odoo server (note that your Odoo server has to be accessible via HTTPS);</li>
<li>add the following permissions: 'User.Read', 'Calendars.ReadWrite', and 'offline_access'.</li>
</ol>
<p>It should look like this:</p>
<img alt="Screenshot Microsoft App Registration Portal" src="https://raw.githubusercontent.com/onesteinbv/addons-onestein/12.0/connector_office_365/static/description/screenshot-setup.png" />
<p>Setup Odoo:</p>
<ol class="arabic simple">
<li>Go to Settings > General Settings;</li>
<li>fill the Client ID with the Client ID / Application ID from the Microsoft App Registration Portal;</li>
<li>put the password from before in Client Secret.</li>
</ol>
<a name="usage"></a>
<h2><a class="toc-backref" href="#id3">Usage</a></h2>
<p>To start synchronizing your calendar:</p>
<ol class="arabic simple">
<li>Go to Calendar;</li>
<li>click Sync with office 365;</li>
<li>you'll be redirected to the login page of Office 365;</li>
<li>login into you're account;</li>
<li>on completion you'll be redirected (if setup properly) back to your Odoo server.</li>
</ol>
<p>The synchronization is personal per user.</p>
<a name="known-issues-roadmap"></a>
<h2><a class="toc-backref" href="#id4">Known issues / Roadmap</a></h2>
<ul class="simple">
<li>Synchronize contacts</li>
<li>Synchronize files</li>
<li>Synchronize notes</li>
</ul>
<a name="credits"></a>
<h2><a class="toc-backref" href="#id5">Credits</a></h2>
<a name="authors"></a>
<h3><a class="toc-backref" href="#id6">Authors</a></h3>
<ul class="simple">
<li>Onestein</li>
</ul>
<a name="contributors"></a>
<h3><a class="toc-backref" href="#id7">Contributors</a></h3>
<ul class="simple">
<li>Dennis Sluijk <<a class="reference external" href="mailto:d.sluijk@onestein.nl">d.sluijk@onestein.nl</a>></li>
<li>Guewen Baconnier <<a class="reference external" href="mailto:guewen.baconnier@camptocamp.com">guewen.baconnier@camptocamp.com</a>></li>
</ul>