odoo-addon-mail-gateway 16.0.1.0.0.7__py3-none-any.whl → 16.0.1.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/mail_gateway/README.rst +1 -1
- odoo/addons/mail_gateway/__manifest__.py +1 -1
- odoo/addons/mail_gateway/controllers/gateway.py +1 -0
- odoo/addons/mail_gateway/models/mail_gateway.py +2 -1
- odoo/addons/mail_gateway/static/description/index.html +8 -5
- {odoo_addon_mail_gateway-16.0.1.0.0.7.dist-info → odoo_addon_mail_gateway-16.0.1.0.1.dist-info}/METADATA +3 -6
- {odoo_addon_mail_gateway-16.0.1.0.0.7.dist-info → odoo_addon_mail_gateway-16.0.1.0.1.dist-info}/RECORD +9 -9
- {odoo_addon_mail_gateway-16.0.1.0.0.7.dist-info → odoo_addon_mail_gateway-16.0.1.0.1.dist-info}/WHEEL +0 -0
- {odoo_addon_mail_gateway-16.0.1.0.0.7.dist-info → odoo_addon_mail_gateway-16.0.1.0.1.dist-info}/top_level.txt +0 -0
|
@@ -7,7 +7,7 @@ Mail Gateway
|
|
|
7
7
|
!! This file is generated by oca-gen-addon-readme !!
|
|
8
8
|
!! changes will be overwritten. !!
|
|
9
9
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
!! source digest: sha256:
|
|
10
|
+
!! source digest: sha256:4327f95b5b928ad994a0fd7132e20e437e8acf0388ec32b65fbe4d85c94f8155
|
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
12
|
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -32,6 +32,7 @@ class GatewayController(Controller):
|
|
|
32
32
|
return (
|
|
33
33
|
request.env["mail.gateway.%s" % usage]
|
|
34
34
|
.with_user(bot_data["webhook_user_id"])
|
|
35
|
+
.with_company(bot_data["company_id"])
|
|
35
36
|
._receive_get_update(bot_data, request, **kwargs)
|
|
36
37
|
)
|
|
37
38
|
bot_data = request.env["mail.gateway"]._get_gateway(
|
|
@@ -113,7 +113,7 @@ class MailGateway(models.Model):
|
|
|
113
113
|
@tools.ormcache()
|
|
114
114
|
def _get_gateway_map(self, state="integrated", gateway_type=False):
|
|
115
115
|
result = {}
|
|
116
|
-
for record in self.search(
|
|
116
|
+
for record in self.sudo().search(
|
|
117
117
|
[
|
|
118
118
|
("integrated_webhook_state", "=", state),
|
|
119
119
|
("gateway_type", "=", gateway_type),
|
|
@@ -125,6 +125,7 @@ class MailGateway(models.Model):
|
|
|
125
125
|
def _get_gateway_data(self):
|
|
126
126
|
return {
|
|
127
127
|
"id": self.id,
|
|
128
|
+
"company_id": self.company_id.id,
|
|
128
129
|
"webhook_secret": self.webhook_secret,
|
|
129
130
|
"webhook_user_id": self.webhook_user_id.id,
|
|
130
131
|
}
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
:Author: David Goodger (goodger@python.org)
|
|
11
|
-
:Id: $Id: html4css1.css
|
|
11
|
+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
|
12
12
|
:Copyright: This stylesheet has been placed in the public domain.
|
|
13
13
|
|
|
14
14
|
Default cascading style sheet for the HTML output of Docutils.
|
|
15
|
+
Despite the name, some widely supported CSS2 features are used.
|
|
15
16
|
|
|
16
17
|
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
|
17
18
|
customize this style sheet.
|
|
@@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
|
|
274
275
|
margin-left: 2em ;
|
|
275
276
|
margin-right: 2em }
|
|
276
277
|
|
|
277
|
-
pre.code .ln { color:
|
|
278
|
+
pre.code .ln { color: gray; } /* line numbers */
|
|
278
279
|
pre.code, code { background-color: #eeeeee }
|
|
279
280
|
pre.code .comment, code .comment { color: #5C6576 }
|
|
280
281
|
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
|
@@ -300,7 +301,7 @@ span.option {
|
|
|
300
301
|
span.pre {
|
|
301
302
|
white-space: pre }
|
|
302
303
|
|
|
303
|
-
span.problematic {
|
|
304
|
+
span.problematic, pre.problematic {
|
|
304
305
|
color: red }
|
|
305
306
|
|
|
306
307
|
span.section-subtitle {
|
|
@@ -366,7 +367,7 @@ ul.auto-toc {
|
|
|
366
367
|
!! This file is generated by oca-gen-addon-readme !!
|
|
367
368
|
!! changes will be overwritten. !!
|
|
368
369
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
369
|
-
!! source digest: sha256:
|
|
370
|
+
!! source digest: sha256:4327f95b5b928ad994a0fd7132e20e437e8acf0388ec32b65fbe4d85c94f8155
|
|
370
371
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
371
372
|
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/social/tree/16.0/mail_gateway"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_gateway"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
372
373
|
<p>This module will allow you to integrate an external chat system in your Odoo system.
|
|
@@ -428,7 +429,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
428
429
|
<div class="section" id="maintainers">
|
|
429
430
|
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
|
|
430
431
|
<p>This module is maintained by the OCA.</p>
|
|
431
|
-
<a class="reference external image-reference" href="https://odoo-community.org"
|
|
432
|
+
<a class="reference external image-reference" href="https://odoo-community.org">
|
|
433
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
|
434
|
+
</a>
|
|
432
435
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
433
436
|
mission is to support the collaborative development of Odoo features and
|
|
434
437
|
promote its widespread use.</p>
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
|
-
Name: odoo-addon-
|
|
3
|
-
Version: 16.0.1.0.
|
|
2
|
+
Name: odoo-addon-mail_gateway
|
|
3
|
+
Version: 16.0.1.0.1
|
|
4
4
|
Summary: Set a gateway
|
|
5
5
|
Home-page: https://github.com/OCA/social
|
|
6
6
|
Author: Creu Blanca,Dixmit,Odoo Community Association (OCA)
|
|
7
7
|
Author-email: support@odoo-community.org
|
|
8
8
|
License: AGPL-3
|
|
9
|
-
Platform: UNKNOWN
|
|
10
9
|
Classifier: Programming Language :: Python
|
|
11
10
|
Classifier: Framework :: Odoo
|
|
12
11
|
Classifier: Framework :: Odoo :: 16.0
|
|
@@ -23,7 +22,7 @@ Mail Gateway
|
|
|
23
22
|
!! This file is generated by oca-gen-addon-readme !!
|
|
24
23
|
!! changes will be overwritten. !!
|
|
25
24
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
26
|
-
!! source digest: sha256:
|
|
25
|
+
!! source digest: sha256:4327f95b5b928ad994a0fd7132e20e437e8acf0388ec32b65fbe4d85c94f8155
|
|
27
26
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
28
27
|
|
|
29
28
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -114,5 +113,3 @@ promote its widespread use.
|
|
|
114
113
|
This module is part of the `OCA/social <https://github.com/OCA/social/tree/16.0/mail_gateway>`_ project on GitHub.
|
|
115
114
|
|
|
116
115
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
117
|
-
|
|
118
|
-
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
odoo/addons/mail_gateway/README.rst,sha256=
|
|
1
|
+
odoo/addons/mail_gateway/README.rst,sha256=KNXYPOSFVKFnIE3AyqYmDVBMtXIZq1c4_wN4Ib_W9K4,3807
|
|
2
2
|
odoo/addons/mail_gateway/__init__.py,sha256=aIwynWdyzP-khr64it84qR6aLsV3nt93saACZSgoJ7w,128
|
|
3
|
-
odoo/addons/mail_gateway/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/mail_gateway/__manifest__.py,sha256=wAcQWxllD2Q3cxRV66TQFCzNeK2II6FP1YVm-wQ9y7Q,1287
|
|
4
4
|
odoo/addons/mail_gateway/hooks.py,sha256=gNJ9Vw1vGd1mjdP_9iNmaPfHhun6kJT_DUR9oZjULyM,338
|
|
5
5
|
odoo/addons/mail_gateway/controllers/__init__.py,sha256=jytg2ehJRiv4skWOQoHQN0l7zCIHKSH_bF8tmsIzyLE,44
|
|
6
6
|
odoo/addons/mail_gateway/controllers/discuss.py,sha256=QNrwrGzWl85o8on8Yk81C6q0CyswzQ3Na2E6_32H8aE,383
|
|
7
|
-
odoo/addons/mail_gateway/controllers/gateway.py,sha256=
|
|
7
|
+
odoo/addons/mail_gateway/controllers/gateway.py,sha256=PvsfRTL_ZrA_yhKpibLNSn6idOD2whEMuTV_V3gh990,2777
|
|
8
8
|
odoo/addons/mail_gateway/i18n/es.po,sha256=ScChSUOWXnWeFX-j3Y1lymUm_9cCiNPBhHk3YmFuAig,19967
|
|
9
9
|
odoo/addons/mail_gateway/i18n/it.po,sha256=S9lo9iq_kb1BULCJSnUvdfuKTgGSfETVvP8jhYeIjBU,21461
|
|
10
10
|
odoo/addons/mail_gateway/i18n/mail_gateway.pot,sha256=j2BbHDs498kJyWQticb1JlrGwbOFHGpPSRo4lkCTYU8,19294
|
|
11
11
|
odoo/addons/mail_gateway/models/__init__.py,sha256=PYOJ6C-9Wfi5ocaXzWMJYgjNTLmxMRpFdFOCxSWQecc,277
|
|
12
12
|
odoo/addons/mail_gateway/models/ir_websocket.py,sha256=8UgstHwBuptksLy_FvJPpq5bTUpZw_b8Jn8FbBrEAiw,706
|
|
13
13
|
odoo/addons/mail_gateway/models/mail_channel.py,sha256=U8s_sUEg571HJ9V1QbInvE3bNCz9ov7UNbT_0_aqQP8,2869
|
|
14
|
-
odoo/addons/mail_gateway/models/mail_gateway.py,sha256=
|
|
14
|
+
odoo/addons/mail_gateway/models/mail_gateway.py,sha256=_zphhraXhQOs_CJbzVUL1dwjzXWp2FiMQa7A-YaTdro,4762
|
|
15
15
|
odoo/addons/mail_gateway/models/mail_gateway_abstract.py,sha256=F7nkCA_0Zm6PMyWbZkRBrb0rrIlaMX9mpug0FyGwT1Q,2617
|
|
16
16
|
odoo/addons/mail_gateway/models/mail_guest.py,sha256=J9pvvxSibQVjcJEpP36QZXE_67aaR6kUIm9uouCsJK8,538
|
|
17
17
|
odoo/addons/mail_gateway/models/mail_message.py,sha256=3JQuKrcfqJLdZpkKFsx3QbG-54XL7FDCpViY6lRGm0Q,4680
|
|
@@ -27,7 +27,7 @@ odoo/addons/mail_gateway/readme/USAGE.rst,sha256=oIFvEwsDa3p1H85uTCKFtW1zHO9Y5h4
|
|
|
27
27
|
odoo/addons/mail_gateway/security/ir.model.access.csv,sha256=fNaEryimpRHnwIHoZHVhB9lz7Q9UETEi_4MDc1oNg2s,948
|
|
28
28
|
odoo/addons/mail_gateway/security/security.xml,sha256=DwEPzbePb5q6TaaOuEtBIC2iLW5gvyXFEfFNyDXCBgQ,2883
|
|
29
29
|
odoo/addons/mail_gateway/static/description/icon.png,sha256=oJUSI4t4BOGKGTvPJURptNJVoX1tYOK4oNzcS0ysedI,26508
|
|
30
|
-
odoo/addons/mail_gateway/static/description/index.html,sha256=
|
|
30
|
+
odoo/addons/mail_gateway/static/description/index.html,sha256=sWKfBdWdrkXpBK8hSKOHeoC0WIwQZ1LX4gm0vWAJoy0,13518
|
|
31
31
|
odoo/addons/mail_gateway/static/src/components/chatter/chatter.xml,sha256=JW2_q_ip5QcG8nXMotlFwI-c4-eGOIEfRwObZfc88AE,2037
|
|
32
32
|
odoo/addons/mail_gateway/static/src/components/composer/composer.xml,sha256=m8yLBcIFK5thG9L-5UQGylh90aDDhjcv0vei_IC-s8c,772
|
|
33
33
|
odoo/addons/mail_gateway/static/src/components/discuss_sidebar/discuss_sidebar.xml,sha256=ZI0ZD_RO3PGAEYnGmoafJeBYVWnegZYwj8xJR9CEb6I,668
|
|
@@ -69,7 +69,7 @@ odoo/addons/mail_gateway/wizards/mail_message_gateway_link.py,sha256=Aomm0WHmTik
|
|
|
69
69
|
odoo/addons/mail_gateway/wizards/mail_message_gateway_link.xml,sha256=bExiMbt7uxkZJOc9Srxm9B6vvLW494iEI_ZPFKmsuWM,976
|
|
70
70
|
odoo/addons/mail_gateway/wizards/mail_message_gateway_send.py,sha256=P141IdyP8T3uguf3heQf2s0sNQxbIGTNOdvdniq7uqY,600
|
|
71
71
|
odoo/addons/mail_gateway/wizards/mail_message_gateway_send.xml,sha256=bvYSteMZJZDfm9kW1ObcNudw5lTEu-P9Leoncplymy0,1421
|
|
72
|
-
odoo_addon_mail_gateway-16.0.1.0.
|
|
73
|
-
odoo_addon_mail_gateway-16.0.1.0.
|
|
74
|
-
odoo_addon_mail_gateway-16.0.1.0.
|
|
75
|
-
odoo_addon_mail_gateway-16.0.1.0.
|
|
72
|
+
odoo_addon_mail_gateway-16.0.1.0.1.dist-info/METADATA,sha256=9m9kKYkbqqG1-cVUumATSCPAnCDnyQnH4XZj1Br1Ijk,4309
|
|
73
|
+
odoo_addon_mail_gateway-16.0.1.0.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
74
|
+
odoo_addon_mail_gateway-16.0.1.0.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
|
75
|
+
odoo_addon_mail_gateway-16.0.1.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|