Attachments Upload on Google Driveby Laxicon Solution https://www.laxicon.in
|Lines of code||382|
|Also available in version||v 13.0 v 10.0 v 15.0 v 11.0 v 12.0 v 14.0 v 9.0|
Attachment upload to Google Drive
This module is used for upload attachment directly on google drive and get download url.
You can upload all type of document.
Whenever you Delete or Update document from Odoo system at that time that document Delete or Update on Google Drive.
Goto Settings -> Users & Companies -> Companies -> Google Drive Folder
Store Backup to Google Drive
you'll need to create a new Google API project and enabling the Google Drive API, Go to the Google API Console and log into your account. While creating the project, for the Redirect URI restrictions, copy your Odoo database URI followed by /g_drive/authentication. Example:
Enable Google Drive API
Create Credentials, Follow the steps, select Website application for the Application Type.
Configure Backup, Copy Client ID and Client Secret from Google Drive API Credentials page into their respective fields.
Setup Tokens, it will be redirected to an authorization page.
Reset the token if required
Create Folder in Google Drive and copy that Folder Id. see below image
==> If you select Sinlge Folder option then document upload in Parent Folder only.
==> If you want to upload document in Multi Folder then you have to select Multi Folder option and
Goto Settings -> Google Drive -> Manage Google Folder and Create Folder.
Document upload on created folder(Objectwise).
==> If you want to upload document on Record Wise Folder then select Record Wise Folder Option and
document upload on Parent folder --> Sub folder --> Record folder --> file.
Manage Folder Object wise . See below Image
Select Object for upload document on Record Wise Folder. See below Image
Add Attachment from Sale Order . See below Image
Odoo Onsite/Offsite Developement
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module