Search 1.9 billion lines of Odoo code on GitHub

google_attachment

Author: Numigi
License: LGPL-3
Branch: TA#47984
Repository: Numigi/odoo-web-addons
Dependencies: base_setup, mail, and web
Languages: HTML (20, 4.3%), JavaScript (289, 61.9%), PO File (25, 5.4%), Python (41, 8.8%), Sass (6, 1.3%), XML (58, 12.4%), and reStructuredText (28, 6.0%)
Other branches: 11.0, 11.0-website_sale_sanitized, 12.0, 12.0-web_list_column_text_align, 14.0, TA#48575, and TA#48575-1

<h1 class="title">Google Attachement</h1> <p>This module allows to attach documents from Google Drive.</p> <p>The attached documents are not stored in Odoo. Only the url and the document name are stored in Odoo. This allows permissions to access the attached documents to be managed in Google Drive.</p> <a name="usage"></a> <h2>Usage</h2> <p>Go to any form view and click on the attachment icon.</p> <img alt="google_attachment/static/description/attachment_icon.png" src="google_attachment/static/description/attachment_icon.png" /> <p>Click on the <cite>From Google...</cite> button.</p> <img alt="google_attachment/static/description/from_google_button.png" src="google_attachment/static/description/from_google_button.png" /> <p>Authenticate to Google (only needed the first time).</p> <img alt="google_attachment/static/description/oauth2.png" src="google_attachment/static/description/oauth2.png" /> <p>Select your attachments.</p> <img alt="google_attachment/static/description/picker.png" src="google_attachment/static/description/picker.png" /> <p>Your document is now attached to Odoo.</p> <img alt="google_attachment/static/description/attachment_created.png" src="google_attachment/static/description/attachment_created.png" /> <p>If you click on the attachment, your google document will open in a new browser tab.</p> <a name="configuration"></a> <h2>Configuration</h2> <ol class="arabic simple"> <li>Go to the [Google Developper Console](<a class="reference external" href="https://console.developers.google.com/apis/dashboard">https://console.developers.google.com/apis/dashboard</a>).</li> <li>Setup a project with Google (if you do not have one already).</li> <li>Create an OAuth2 Client ID.</li> <li>Create an API Key.</li> <li>Activate the access to the [Google Picker API](<a class="reference external" href="https://developers.google.com/picker/">https://developers.google.com/picker/</a>).</li> <li>In Odoo, go to <cite>Settings / General Settings</cite>.</li> <li>In the section <cite>Attachments From Google Drive</cite>, fill your OAuth Client ID and your API Key.</li> </ol> <img alt="google_attachment/static/description/odoo_attachment_settings.png" src="google_attachment/static/description/odoo_attachment_settings.png" /> <a name="contributors"></a> <h2>Contributors</h2> <ul class="simple"> <li>Numigi (tm) and all its contributors (<a class="reference external" href="https://bit.ly/numigiens">https://bit.ly/numigiens</a>)</li> </ul> <a name="more-information"></a> <h2>More information</h2> <ul class="simple"> <li>Meet us at <a class="reference external" href="https://bit.ly/numigi-com">https://bit.ly/numigi-com</a></li> </ul>