diff --git a/odoo_slack_connector/__manifest__.py b/odoo_slack_connector/__manifest__.py index 96ef4d26f..f6816a384 100644 --- a/odoo_slack_connector/__manifest__.py +++ b/odoo_slack_connector/__manifest__.py @@ -3,7 +3,7 @@ # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # 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', diff --git a/odoo_slack_connector/doc/RELEASE_NOTES.md b/odoo_slack_connector/doc/RELEASE_NOTES.md index 313875251..af1bf815d 100644 --- a/odoo_slack_connector/doc/RELEASE_NOTES.md +++ b/odoo_slack_connector/doc/RELEASE_NOTES.md @@ -1,6 +1,6 @@ ## Module -#### 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. \ No newline at end of file +- Bug Fix: Resolved the issue causing a server error during the synchronization of Slack with Odoo. diff --git a/odoo_slack_connector/models/__init__.py b/odoo_slack_connector/models/__init__.py index 54f7ff334..6ab6eef57 100644 --- a/odoo_slack_connector/models/__init__.py +++ b/odoo_slack_connector/models/__init__.py @@ -3,7 +3,7 @@ # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # You can modify it under the terms of the GNU LESSER diff --git a/odoo_slack_connector/models/mail_channel.py b/odoo_slack_connector/models/mail_channel.py index 1d2cc7acb..6cabc6f14 100644 --- a/odoo_slack_connector/models/mail_channel.py +++ b/odoo_slack_connector/models/mail_channel.py @@ -3,7 +3,7 @@ # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # You can modify it under the terms of the GNU LESSER diff --git a/odoo_slack_connector/models/mail_message.py b/odoo_slack_connector/models/mail_message.py index 03eefafd0..aa72374af 100644 --- a/odoo_slack_connector/models/mail_message.py +++ b/odoo_slack_connector/models/mail_message.py @@ -3,7 +3,7 @@ # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # You can modify it under the terms of the GNU LESSER diff --git a/odoo_slack_connector/models/res_company.py b/odoo_slack_connector/models/res_company.py index 00afadb80..111b0c830 100644 --- a/odoo_slack_connector/models/res_company.py +++ b/odoo_slack_connector/models/res_company.py @@ -3,7 +3,7 @@ # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # 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'], diff --git a/odoo_slack_connector/models/res_partner.py b/odoo_slack_connector/models/res_partner.py index 129edc501..b79e09731 100644 --- a/odoo_slack_connector/models/res_partner.py +++ b/odoo_slack_connector/models/res_partner.py @@ -3,7 +3,7 @@ # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # You can modify it under the terms of the GNU LESSER diff --git a/odoo_slack_connector/models/res_users.py b/odoo_slack_connector/models/res_users.py index 5602208e0..7fe2a0274 100644 --- a/odoo_slack_connector/models/res_users.py +++ b/odoo_slack_connector/models/res_users.py @@ -3,7 +3,7 @@ # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # You can modify it under the terms of the GNU LESSER diff --git a/odoo_slack_connector/static/description/index.html b/odoo_slack_connector/static/description/index.html index 3b7d2ade3..0c4fe6e84 100644 --- a/odoo_slack_connector/static/description/index.html +++ b/odoo_slack_connector/static/description/index.html @@ -147,7 +147,11 @@

Add necessary permission to the app

- 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.