diff --git a/odoo_zoom_meet_integration/README.rst b/odoo_zoom_meet_integration/README.rst new file mode 100755 index 000000000..aa86fd323 --- /dev/null +++ b/odoo_zoom_meet_integration/README.rst @@ -0,0 +1,47 @@ +.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Odoo Zoom Meet Integration +=========================== +* Integrates Odoo calender module with Zoom. + +Installation +============ + - www.odoo.com/documentation/15.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/15.0/legal/licenses/licenses.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: Version 15: Aswani @cybrosys + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/odoo_zoom_meet_integration/__init__.py b/odoo_zoom_meet_integration/__init__.py new file mode 100644 index 000000000..0fd044ce3 --- /dev/null +++ b/odoo_zoom_meet_integration/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import controller +from . import models diff --git a/odoo_zoom_meet_integration/__manifest__.py b/odoo_zoom_meet_integration/__manifest__.py new file mode 100644 index 000000000..73ffa06f7 --- /dev/null +++ b/odoo_zoom_meet_integration/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': "Odoo Zoom Meet Integration", + 'version': '15.0.1.0.0', + "category": 'Extra Tools', + 'summary': """Integrates odoo calender module with Zoom.""", + 'description': """Integrates odoo calender module with Zoom and helps to + create meetings from odoo in zoom.Allows sending meeting invitations and + removes deleted zoom meetings from Odoo""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['base', 'contacts', 'calendar'], + 'data': [ + 'views/calendar_event_views.xml', + 'views/res_company_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': "LGPL-3", + 'installable': True, + 'auto_install': False, + 'application': False +} \ No newline at end of file diff --git a/odoo_zoom_meet_integration/controller/__init__.py b/odoo_zoom_meet_integration/controller/__init__.py new file mode 100644 index 000000000..44f55cd7e --- /dev/null +++ b/odoo_zoom_meet_integration/controller/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import odoo_zoom_meet_integration diff --git a/odoo_zoom_meet_integration/controller/odoo_zoom_meet_integration.py b/odoo_zoom_meet_integration/controller/odoo_zoom_meet_integration.py new file mode 100644 index 000000000..088ce50b6 --- /dev/null +++ b/odoo_zoom_meet_integration/controller/odoo_zoom_meet_integration.py @@ -0,0 +1,75 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +import base64 +import datetime +import requests +from odoo import http, _ +from odoo.http import request +from odoo.exceptions import UserError + + +class ZoomMeetAuth(http.Controller): + """ This controller is responsible for the Authentication of + connection from Odoo to Zoom""" + + @http.route('/zoom_meet_authentication', type="http", auth="public", + website=True) + def get_auth_code(self, **kw): + """Authentication for connecting Odoo to Zoom""" + user_id = request.uid + company_id = http.request.env['res.users'].sudo().browse( + user_id).company_id + if kw.get('code'): + company_id.write( + {'zoom_company_authorization_code': kw.get('code')}) + client_id = company_id.zoom_client + client_secret = company_id.zoom_client_secret + redirect_uri = company_id.zoom_redirect_uri + data = { + 'code': kw.get('code'), + 'redirect_uri': redirect_uri, + 'grant_type': 'authorization_code' + } + b64 = str( + client_id + ":" + client_secret).encode( + 'utf-8') + b64 = base64.b64encode(b64).decode('utf-8') + response = requests.post( + 'https://zoom.us/oauth/token', data=data, + headers={ + 'Authorization': 'Basic ' + b64, + 'content-type': 'application/x-www-form-urlencoded'}) + if response.json() and response.json().get('access_token'): + company_id.write({ + 'zoom_company_access_token': + response.json().get('access_token'), + 'zoom_company_access_token_expiry': + datetime.datetime.now() + datetime.timedelta( + seconds=response.json().get('expires_in')), + 'zoom_company_refresh_token': + response.json().get('refresh_token'), + }) + return "Authentication Success. You Can Close this window" + else: + raise UserError( + _('Something went wrong during the token generation.' + 'Maybe your Authorization Code is invalid')) diff --git a/odoo_zoom_meet_integration/doc/RELEASE_NOTES.md b/odoo_zoom_meet_integration/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..661ad3c7b --- /dev/null +++ b/odoo_zoom_meet_integration/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 14.07.2023 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for Odoo Zoom Meet Integration \ No newline at end of file diff --git a/odoo_zoom_meet_integration/models/__init__.py b/odoo_zoom_meet_integration/models/__init__.py new file mode 100644 index 000000000..4b526c1ce --- /dev/null +++ b/odoo_zoom_meet_integration/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import calendar_event +from . import res_company diff --git a/odoo_zoom_meet_integration/models/calendar_event.py b/odoo_zoom_meet_integration/models/calendar_event.py new file mode 100644 index 000000000..67384b65f --- /dev/null +++ b/odoo_zoom_meet_integration/models/calendar_event.py @@ -0,0 +1,146 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +import json +import requests +from odoo import api, fields, models, _ +from odoo.exceptions import UserError, ValidationError + + +class CalendarEvent(models.Model): + """Inheriting Calendar events to create zoom meetings""" + _inherit = 'calendar.event' + + is_zoom_meet = fields.Boolean(string='Zoom Meet', + help='Enable, if zoom meeting.') + zoom_meet_url = fields.Char(string='Zoom Meet URL', + help='To joining Meeting URL') + zoom_meet_code = fields.Char(string='Zoom Meet Code', + help='Joining Meeting Code') + zoom_event = fields.Char(string='Zoom Event ID', + help='Event ID of the zoom meet') + + def action_zoom_meet_url(self): + """Join zoom from Odoo""" + meet_url = self.zoom_meet_url + if meet_url: + url = self.zoom_meet_url + else: + url = 'https://api.zoom.us/v2/' + return { + 'type': 'ir.actions.act_url', + 'target': 'new', + 'url': url, + } + + @api.model_create_multi + def create(self, vals): + """Supering for creating Zoom meetings""" + events = super(CalendarEvent, self).create(vals) + for event in events: + if event.is_zoom_meet: + self._create_zoom_meet(event) + return events + + def write(self, vals): + """Supering for enabling zoom meetings while editing""" + events = super(CalendarEvent, self).write(vals) + for event in self: + if event.is_zoom_meet: + if not event.zoom_event: + self._create_zoom_meet(event) + return events + + def _create_zoom_meet(self, cal_event): + """Creating Zoom meeting from odoo in Zoom""" + url = "https://api.zoom.us/v2/users/me/meetings" + current_uid = self._context.get('uid') + user_id = self.env['res.users'].browse(current_uid) + company_id = user_id.company_id + duration = cal_event.duration * 60 + payload = json.dumps({ + "start_time": cal_event.start.isoformat(), + "timezone": user_id.tz, + "topic": cal_event.name, + "duration": int(duration), + "settings": { + "email_notification": False, + "registrants_confirmation_email": False, + "registrants_email_notification": False, + "waiting_room": True, + "join_before_host": True, + "mute_participants_upon_entry": True + } + }) + headers = { + 'Authorization': 'Bearer %s' % company_id.zoom_company_access_token, + 'Content-Type': 'application/json', + 'Accept': 'application/json' + } + response = requests.request("POST", url, headers=headers, data=payload) + if response.json().get('code') == 124: + raise UserError(_("Token Expired, please refresh token")) + if response.json().get('start_url'): + cal_event.zoom_event = response.json()['id'] + cal_event.zoom_meet_url = response.json()['join_url'] + cal_event.zoom_meet_code = response.json()['id'] + else: + raise ValidationError("Failed to create Zoom event," + "Please check your authorization connection.") + + @api.onchange("is_zoom_meet") + def _onchange_is_zoom_meet(self): + """Delete a meeting from zoom """ + if not self.is_zoom_meet: + event_id = self.zoom_event + if event_id: + current_uid = self._context.get('uid') + user_id = self.env['res.users'].browse(current_uid) + company_id = user_id.company_id + url = 'https://api.zoom.us/v2/meetings/%s' % event_id + header = { + 'Authorization': + 'Bearer %s' % company_id.zoom_company_access_token, + 'Content-Type': 'application/json'} + response = requests.delete(url, headers=header) + if response.status_code == 401: + raise UserError(_("Token Expired, please refresh token")) + self.zoom_meet_url = '' + self.zoom_meet_code = '' + self.zoom_event = '' + + def unlink(self): + """Delete Zoom meet with unlink method""" + for event in self: + if event.is_zoom_meet and event.zoom_event: + current_uid = self._context.get('uid') + user_id = self.env['res.users'].browse(current_uid) + company_id = user_id.company_id + url = 'https://api.zoom.us/v2/meetings/%s' % event.zoom_event + header = { + 'Authorization': + 'Bearer %s' % company_id.zoom_company_access_token, + 'Content-Type': 'application/json'} + response = requests.delete(url, headers=header) + if response.status_code == 401: + raise UserError(_("Token Expired, please refresh token")) + events = super(CalendarEvent, self).unlink() + return events diff --git a/odoo_zoom_meet_integration/models/res_company.py b/odoo_zoom_meet_integration/models/res_company.py new file mode 100644 index 000000000..443bc71a2 --- /dev/null +++ b/odoo_zoom_meet_integration/models/res_company.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +import base64 +import requests +from odoo import fields, models, _ +from odoo.exceptions import UserError, ValidationError + +TIMEOUT = 20 + + +class ResCompany(models.Model): + """Inheriting company model for configuring zoom odoo connector""" + _inherit = "res.company" + + zoom_client = fields.Char( + string="Client Id", help='Zoom Developer Console Client ID') + zoom_client_secret = fields.Char( + string="Client Secret", help='Zoom Developer Console Client Secret') + zoom_redirect_uri = fields.Char( + string="Authorized redirect URIs", default="http://localhost:8015" + "/zoom_meet_authentication", + help='Zoom Authorized redirect URIs') + zoom_company_access_token = fields.Char(string='Access Token', + copy=False, + help='Access token for ' + 'respective company') + zoom_company_access_token_expiry = fields.Datetime( + string='Token expiry', help='Access token expiration') + zoom_company_refresh_token = fields.Char(string='Refresh Token', + copy=False, + help='Refresh token for ' + 'respective company') + zoom_company_authorization_code = fields.Char(string="Authorization Code", + help='Authorization Code ' + 'for respective company') + + def action_zoom_meet_company_authenticate(self): + """Authentication for zoom""" + if not self.zoom_client: + raise ValidationError("Please Enter Client ID") + client_id = self.zoom_client + if not self.zoom_redirect_uri: + raise ValidationError("Please Enter Client Secret") + redirect_url = self.zoom_redirect_uri + url = ( + "https://zoom.us/oauth/authorize?response_type=code" + "&client_id={}&redirect_uri={}" + ).format(client_id, redirect_url) + return { + "type": 'ir.actions.act_url', + "url": url, + "target": "current" + } + + def action_zoom_meet_company_refresh_token(self): + """Generate refresh token""" + if not self.zoom_client: + raise UserError( + _('Client ID is not yet configured.')) + client_id = self.zoom_client + if not self.zoom_client_secret: + raise UserError( + _('Client Secret is not yet configured.')) + client_secret = self.zoom_client_secret + if not self.zoom_company_refresh_token: + raise UserError( + _('Refresh Token is not yet configured.')) + refresh_token = self.zoom_company_refresh_token + data = { + 'refresh_token': refresh_token, + 'grant_type': 'refresh_token', + } + b64 = str( + client_id + ":" + client_secret).encode( + 'utf-8') + b64 = base64.b64encode(b64).decode('utf-8') + response = requests.post( + 'https://zoom.us/oauth/token', data=data, + headers={ + 'Authorization': 'Basic ' + b64, + 'content-type': 'application/x-www-form-urlencoded'}, + timeout=TIMEOUT) + if response.json() and response.json().get('access_token'): + self.write({ + 'zoom_company_access_token': + response.json().get('access_token'), + }) + else: + raise UserError( + _('Something went wrong during the token generation.' + ' Please request again an authorization code.')) diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/check.png b/odoo_zoom_meet_integration/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/check.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/chevron.png b/odoo_zoom_meet_integration/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/chevron.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/cogs.png b/odoo_zoom_meet_integration/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/cogs.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/consultation.png b/odoo_zoom_meet_integration/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/consultation.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/ecom-black.png b/odoo_zoom_meet_integration/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/ecom-black.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/education-black.png b/odoo_zoom_meet_integration/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/education-black.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/hotel-black.png b/odoo_zoom_meet_integration/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/hotel-black.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/license.png b/odoo_zoom_meet_integration/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/license.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/lifebuoy.png b/odoo_zoom_meet_integration/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/lifebuoy.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/logo.png b/odoo_zoom_meet_integration/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/logo.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/manufacturing-black.png b/odoo_zoom_meet_integration/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/manufacturing-black.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/pos-black.png b/odoo_zoom_meet_integration/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/pos-black.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/puzzle.png b/odoo_zoom_meet_integration/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/puzzle.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/restaurant-black.png b/odoo_zoom_meet_integration/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/restaurant-black.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/service-black.png b/odoo_zoom_meet_integration/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/service-black.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/trading-black.png b/odoo_zoom_meet_integration/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/trading-black.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/training.png b/odoo_zoom_meet_integration/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/training.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/update.png b/odoo_zoom_meet_integration/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/update.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/user.png b/odoo_zoom_meet_integration/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/user.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/icons/wrench.png b/odoo_zoom_meet_integration/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/icons/wrench.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/modules/budget_image.png b/odoo_zoom_meet_integration/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/modules/budget_image.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/modules/credit_image.png b/odoo_zoom_meet_integration/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/modules/credit_image.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/modules/employee_image.png b/odoo_zoom_meet_integration/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/modules/employee_image.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/modules/export_image.png b/odoo_zoom_meet_integration/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/modules/export_image.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/modules/gantt_image.png b/odoo_zoom_meet_integration/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/modules/gantt_image.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/modules/quotation_image.png b/odoo_zoom_meet_integration/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/modules/quotation_image.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/Zoom5.png b/odoo_zoom_meet_integration/static/description/assets/screenshots/Zoom5.png new file mode 100644 index 000000000..d0e59ce62 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/Zoom5.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/hero.gif b/odoo_zoom_meet_integration/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..f8ff8792f Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/hero.gif differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom1.png b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom1.png new file mode 100644 index 000000000..16a702795 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom1.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom10.png b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom10.png new file mode 100644 index 000000000..6c15f7fdf Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom10.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom2.png b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom2.png new file mode 100644 index 000000000..19ba9b6fe Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom2.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom3.png b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom3.png new file mode 100644 index 000000000..4540b394f Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom3.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom4.png b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom4.png new file mode 100644 index 000000000..411d2e30e Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom4.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom6.png b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom6.png new file mode 100644 index 000000000..d1254666d Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom6.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom7.png b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom7.png new file mode 100644 index 000000000..83d7549eb Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom7.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom8.png b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom8.png new file mode 100644 index 000000000..34c9165a9 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom8.png differ diff --git a/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom9.png b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom9.png new file mode 100644 index 000000000..f5d5fcec6 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/assets/screenshots/zoom9.png differ diff --git a/odoo_zoom_meet_integration/static/description/banner.jpg b/odoo_zoom_meet_integration/static/description/banner.jpg new file mode 100644 index 000000000..ae7760bd2 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/banner.jpg differ diff --git a/odoo_zoom_meet_integration/static/description/icon.png b/odoo_zoom_meet_integration/static/description/icon.png new file mode 100644 index 000000000..6fbf3cf68 Binary files /dev/null and b/odoo_zoom_meet_integration/static/description/icon.png differ diff --git a/odoo_zoom_meet_integration/static/description/index.html b/odoo_zoom_meet_integration/static/description/index.html new file mode 100644 index 000000000..bed378d0e --- /dev/null +++ b/odoo_zoom_meet_integration/static/description/index.html @@ -0,0 +1,761 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ Odoo Zoom Meet Integration

+

+ This module integrates odoo calendar module with Zoom +

+ +
+
+ + + +
+
+

+ Overview +

+
+ +
+

+ The Zoom Meeting integration module helps you to create Zoom + Meets from Odoo Calendar.

+
+

+ +
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Create Zoom Meetings from Odoo Calendar

+
+
+ +
+
+ +
+
+

+ Send a Zoom Meeting invitation email to event + attendees

+
+
+ +
+
+ +
+
+

+ Join Zoom meeting from Zoom meet tab

+
+
+
+
+ +
+
+

+ Delete Scheduled meetings in Zoom from Odoo

+
+
+ +
+ + +
+
+

+ Configuration +

+
+
+

+ Steps to setup in Zoom

+
+
+

+ 1. Sign in with your Zoom Account. To create Zoom OAuth App , + go to Zoom marketplace +
+     (https://marketplace.zoom.us/develop/create). +
+     create your OAuth app and get your + client id and client secret and set the redirect url. +

+ + +
+
+ +
+
+

+ Screenshots +

+
+
+ +

+ + Go to Settings-> Companies + Then click on the company name and select the Zoom Meeting tab. + Enter the Client id, Client secret and Redirect Url in + Credentials. +
+ After entering all the details click on Authenticate. +

+ +
+ +
+ +

+ After successful authentication, now you can create Zoom + Meetings to your Odoo calendar. +

+ + +
+ +
+ +

+ When the Zoom Meet checkbox is enabled, a Zoom meeting link is + generated. +

+ +
+ +
+ +

+ By clicking the Join Meeting button, you can also join a Zoom + Meeting. +

+ +
+ +
+ +

+ After you've created the meeting, you can view it in Zoom + calendar and scheduled meetings. +

+ + +
+
+

+ Email the meeting information to all event participants +

+ +
+
+ +

+ Disable the Zoom Meet checkbox or delete the calender event to + delete the meeting. + From Zoom also, the meeting will be removed. +

+ +
+ + +
+ +
+
+

Suggested Products

+
+ + +
+
+ + + +
+
+
+

Our Services

+
+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+
+

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+ +
+
+ + + + + +
+
+
+

Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/odoo_zoom_meet_integration/views/calendar_event_views.xml b/odoo_zoom_meet_integration/views/calendar_event_views.xml new file mode 100644 index 000000000..fb42f8707 --- /dev/null +++ b/odoo_zoom_meet_integration/views/calendar_event_views.xml @@ -0,0 +1,45 @@ + + + + + + calendar.event.view.form.inherit.odoo.zoom.meet.integration + + calendar.event + + + + + + + + + + + + +