Browse Source

Sep 15 [FIX] : Bug Fixed 'odoo_zoom_meet_integration'

pull/254/merge
AjmalCybro 2 years ago
parent
commit
2c0afb1a54
  1. 2
      odoo_zoom_meet_integration/__manifest__.py
  2. 12
      odoo_zoom_meet_integration/doc/RELEASE_NOTES.md
  3. 11
      odoo_zoom_meet_integration/models/calendar_event.py

2
odoo_zoom_meet_integration/__manifest__.py

@ -21,7 +21,7 @@
############################################################################# #############################################################################
{ {
'name': "Odoo Zoom Meet Integration", 'name': "Odoo Zoom Meet Integration",
'version': '15.0.1.1.1', 'version': '15.0.1.2.1',
"category": 'Extra Tools', "category": 'Extra Tools',
'summary': """Integrates odoo calender module with Zoom.""", 'summary': """Integrates odoo calender module with Zoom.""",
'description': """Integrates odoo calender module with Zoom and helps to 'description': """Integrates odoo calender module with Zoom and helps to

12
odoo_zoom_meet_integration/doc/RELEASE_NOTES.md

@ -1,6 +1,16 @@
## Module <odoo_zoom_meet_integration> ## Module <odoo_zoom_meet_integration>
#### 04.09.2023 #### 14.07.2023
#### Version 15.0.1.0.0 #### Version 15.0.1.0.0
#### ADD #### ADD
- Initial commit for Odoo Zoom Meet Integration - Initial commit for Odoo Zoom Meet Integration
#### 04.09.2023
#### Version 15.0.1.1.1
#### ADD
- Implemented the meeting link in the videocall_location field, to be able to view it when synchronized to google calendar.
#### 14.09.2023
#### Version 15.0.1.2.1
#### ADD
- Implemented the description in the description field with the meeting code.

11
odoo_zoom_meet_integration/models/calendar_event.py

@ -20,7 +20,9 @@
# #
############################################################################# #############################################################################
import json import json
import requests import requests
from odoo import api, fields, models, _ from odoo import api, fields, models, _
from odoo.exceptions import UserError, ValidationError from odoo.exceptions import UserError, ValidationError
@ -38,6 +40,15 @@ class CalendarEvent(models.Model):
zoom_event = fields.Char(string='Zoom Event ID', zoom_event = fields.Char(string='Zoom Event ID',
help='Event ID of the zoom meet') help='Event ID of the zoom meet')
videocall_location = fields.Char('Meeting URL', related='zoom_meet_url') videocall_location = fields.Char('Meeting URL', related='zoom_meet_url')
description = fields.Text('Description',
states={'done': [('readonly', True)]},
compute="_compute_description", store=True)
@api.depends('zoom_meet_code', 'zoom_meet_url')
def _compute_description(self):
for rec in self:
if rec.zoom_meet_code and rec.zoom_meet_url:
rec.description = "Join the Zoom Meeting at " + str(rec.zoom_meet_url) + "using the Meeting Code " + str(rec.zoom_meet_code)
def action_zoom_meet_url(self): def action_zoom_meet_url(self):
"""Join zoom from Odoo""" """Join zoom from Odoo"""

Loading…
Cancel
Save