Browse Source

Nov 13 : [FIX] Bug Fixed 'odoo_slack_connector'

pull/295/head
AjmalCybro 1 year ago
parent
commit
e4f36602ad
  1. 4
      odoo_slack_connector/__manifest__.py
  2. 8
      odoo_slack_connector/doc/RELEASE_NOTES.md
  3. 2
      odoo_slack_connector/models/__init__.py
  4. 2
      odoo_slack_connector/models/mail_channel.py
  5. 2
      odoo_slack_connector/models/mail_message.py
  6. 6
      odoo_slack_connector/models/res_company.py
  7. 2
      odoo_slack_connector/models/res_partner.py
  8. 2
      odoo_slack_connector/models/res_users.py
  9. 6
      odoo_slack_connector/static/description/index.html

4
odoo_slack_connector/__manifest__.py

@ -3,7 +3,7 @@
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
@ -22,7 +22,7 @@
{
'name': "Slack Odoo Connector",
'version': '16.0.1.0.2',
'version': '16.0.1.0.3',
'summary': "Integrate slack with Odoo",
'description': "This module will help you to connect with slack to manage slack Conversations",
'category': 'Extra Tools',

8
odoo_slack_connector/doc/RELEASE_NOTES.md

@ -1,6 +1,6 @@
## Module <odoo_slack_connector>
#### 27.10.2022
#### 27.10.2023
#### Version 16.0.1.0.0
##### ADD
- Initial commit for Slack
@ -10,7 +10,7 @@
##### FIX
- Bug Fix: Fixed the issue where slack members are not loading to odoo
#### 26.10.2023
#### Version 16.0.1.0.2
#### 10.11.2023
#### Version 16.0.1.0.3
##### FIX
- Bug Fix: Resolved the issue causing a server error during the synchronization of Slack with Odoo.
- Bug Fix: Resolved the issue causing a server error during the synchronization of Slack with Odoo.

2
odoo_slack_connector/models/__init__.py

@ -3,7 +3,7 @@
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER

2
odoo_slack_connector/models/mail_channel.py

@ -3,7 +3,7 @@
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER

2
odoo_slack_connector/models/mail_message.py

@ -3,7 +3,7 @@
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER

6
odoo_slack_connector/models/res_company.py

@ -3,7 +3,7 @@
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
@ -100,7 +100,7 @@ class ResCompany(models.Model):
email = rec['profile']['email']
else:
email = ''
if rec['id'] not in record_user_list:
if not rec['deleted'] and rec['id'] not in record_user_list:
users_list.append((0, 0,
{'name': rec['real_name'],
'user': rec['id'],
@ -115,7 +115,7 @@ class ResCompany(models.Model):
email = rec['profile']['email']
else:
email = ''
if rec['id'] not in slack_id_list:
if not rec['deleted'] and rec['id'] not in slack_id_list:
vals = {
'name': rec['real_name'],
'slack_user_id': rec['id'],

2
odoo_slack_connector/models/res_partner.py

@ -3,7 +3,7 @@
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER

2
odoo_slack_connector/models/res_users.py

@ -3,7 +3,7 @@
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER

6
odoo_slack_connector/static/description/index.html

@ -147,7 +147,11 @@
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Add necessary permission to the app</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
To communicate with slack, you need to allow some permissions, for this go inside the slack app and navigate to the 'OAuth & Permissions'-->'Scopes'-->'User Token Scopes' and enable permissions such as 'mpim:read, im:read, groups:read, channels:read, chat:write, chat:write:user, chat:write:bot, users:read'.
To communicate with slack, you need to allow some permissions,
for this go inside the slack app and navigate to the 'OAuth & Permissions'-->'Scopes'-->'User Token Scopes'
and enable permissions such as 'mpim:read, mpim:history, im:read, im:history, groups:read,
channels:read, channels:history, chat:write, users.profile:read,
users:read, users:read.email, groups:history' etc.
</p>
<img src="assets/screenshots/2.png" class="img-thumbnail">
</div>

Loading…
Cancel
Save