odoo-addon-mail-gateway-whatsapp 16.0.1.1.0.9__py3-none-any.whl → 17.0.1.0.0.2__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_whatsapp/README.rst +61 -45
- odoo/addons/mail_gateway_whatsapp/__manifest__.py +2 -6
- odoo/addons/mail_gateway_whatsapp/i18n/es.po +124 -136
- odoo/addons/mail_gateway_whatsapp/i18n/it.po +3 -13
- odoo/addons/mail_gateway_whatsapp/i18n/mail_gateway_whatsapp.pot +2 -23
- odoo/addons/mail_gateway_whatsapp/models/__init__.py +1 -1
- odoo/addons/mail_gateway_whatsapp/models/{mail_channel.py → discuss_channel.py} +5 -8
- odoo/addons/mail_gateway_whatsapp/models/mail_gateway_whatsapp.py +21 -33
- odoo/addons/mail_gateway_whatsapp/models/mail_thread.py +3 -7
- odoo/addons/mail_gateway_whatsapp/readme/CONFIGURE.md +35 -0
- odoo/addons/mail_gateway_whatsapp/readme/CONTRIBUTORS.md +7 -0
- odoo/addons/mail_gateway_whatsapp/readme/{CREDITS.rst → CREDITS.md} +2 -1
- odoo/addons/mail_gateway_whatsapp/readme/{DESCRIPTION.rst → DESCRIPTION.md} +2 -2
- odoo/addons/mail_gateway_whatsapp/readme/ROADMAP.md +4 -0
- odoo/addons/mail_gateway_whatsapp/readme/USAGE.md +3 -0
- odoo/addons/mail_gateway_whatsapp/static/description/index.html +55 -40
- odoo/addons/mail_gateway_whatsapp/static/src/components/message/message.xml +2 -2
- odoo/addons/mail_gateway_whatsapp/static/src/components/message/message_patch.esm.js +17 -0
- odoo/addons/mail_gateway_whatsapp/static/src/components/phone_field/phone_field.esm.js +1 -1
- odoo/addons/mail_gateway_whatsapp/static/src/components/phone_field/phone_field.xml +2 -2
- odoo/addons/mail_gateway_whatsapp/static/src/components/send_whatsapp_button/send_whatsapp_button.esm.js +3 -3
- odoo/addons/mail_gateway_whatsapp/tests/test_mail_gateway_whatsapp.py +10 -8
- odoo/addons/mail_gateway_whatsapp/tools/const.py +1 -1
- odoo/addons/mail_gateway_whatsapp/views/mail_gateway.xml +7 -10
- odoo/addons/mail_gateway_whatsapp/views/mail_whatsapp_template_views.xml +11 -26
- odoo/addons/mail_gateway_whatsapp/wizards/mail_compose_gateway_message.py +1 -3
- odoo/addons/mail_gateway_whatsapp/wizards/mail_compose_gateway_message.xml +2 -6
- odoo/addons/mail_gateway_whatsapp/wizards/whatsapp_composer.py +1 -2
- odoo/addons/mail_gateway_whatsapp/wizards/whatsapp_composer.xml +4 -11
- {odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.9.dist-info → odoo_addon_mail_gateway_whatsapp-17.0.1.0.0.2.dist-info}/METADATA +69 -52
- odoo_addon_mail_gateway_whatsapp-17.0.1.0.0.2.dist-info/RECORD +46 -0
- {odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.9.dist-info → odoo_addon_mail_gateway_whatsapp-17.0.1.0.0.2.dist-info}/WHEEL +1 -1
- odoo_addon_mail_gateway_whatsapp-17.0.1.0.0.2.dist-info/top_level.txt +1 -0
- odoo/addons/mail_gateway_whatsapp/i18n/es_VE.po +0 -1181
- odoo/addons/mail_gateway_whatsapp/readme/CONFIGURE.rst +0 -31
- odoo/addons/mail_gateway_whatsapp/readme/CONTRIBUTORS.rst +0 -5
- odoo/addons/mail_gateway_whatsapp/readme/ROADMAP.rst +0 -4
- odoo/addons/mail_gateway_whatsapp/readme/USAGE.rst +0 -3
- odoo/addons/mail_gateway_whatsapp/static/src/models/message.esm.js +0 -21
- odoo/addons/mail_gateway_whatsapp/static/src/models/message_view.esm.js +0 -25
- odoo/addons/mail_gateway_whatsapp/static/src/models/notification.esm.js +0 -25
- odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.9.dist-info/RECORD +0 -49
- odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.9.dist-info/top_level.txt +0 -1
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
2
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
3
|
+
:alt: Odoo Community Association
|
|
4
|
+
|
|
1
5
|
=====================
|
|
2
6
|
Mail Whatsapp Gateway
|
|
3
7
|
=====================
|
|
@@ -7,31 +11,31 @@ Mail Whatsapp Gateway
|
|
|
7
11
|
!! This file is generated by oca-gen-addon-readme !!
|
|
8
12
|
!! changes will be overwritten. !!
|
|
9
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
!! source digest: sha256:
|
|
14
|
+
!! source digest: sha256:abc9cf8f5146c06cb1a2171d01ee1797a2f5a092bc0dd29c5e39106dadc14efd
|
|
11
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
16
|
|
|
13
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
14
18
|
:target: https://odoo-community.org/page/development-status
|
|
15
19
|
:alt: Beta
|
|
16
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
20
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
17
21
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
18
22
|
:alt: License: AGPL-3
|
|
19
23
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
|
|
20
|
-
:target: https://github.com/OCA/social/tree/
|
|
24
|
+
:target: https://github.com/OCA/social/tree/17.0/mail_gateway_whatsapp
|
|
21
25
|
:alt: OCA/social
|
|
22
26
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
23
|
-
:target: https://translation.odoo-community.org/projects/social-
|
|
27
|
+
:target: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_gateway_whatsapp
|
|
24
28
|
:alt: Translate me on Weblate
|
|
25
29
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
26
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=
|
|
30
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=17.0
|
|
27
31
|
:alt: Try me on Runboat
|
|
28
32
|
|
|
29
33
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
30
34
|
|
|
31
35
|
This module allows to respond whatsapp chats.
|
|
32
36
|
|
|
33
|
-
This way, a group of users can respond customers or any other set
|
|
34
|
-
|
|
37
|
+
This way, a group of users can respond customers or any other set of
|
|
38
|
+
partners in an integrated way.
|
|
35
39
|
|
|
36
40
|
**Table of contents**
|
|
37
41
|
|
|
@@ -42,41 +46,50 @@ Configuration
|
|
|
42
46
|
=============
|
|
43
47
|
|
|
44
48
|
First steps
|
|
45
|
-
|
|
49
|
+
-----------
|
|
46
50
|
|
|
47
|
-
You need to create a WhatsApp Business Account (WABA), a Meta App and
|
|
48
|
-
You can follow this
|
|
51
|
+
You need to create a WhatsApp Business Account (WABA), a Meta App and
|
|
52
|
+
define a phone number. You can follow this
|
|
53
|
+
`steps <https://developers.facebook.com/micro_site/url/?click_from_context_menu=true&country=ES&destination=https%3A%2F%2Fwww.facebook.com%2Fbusiness%2Fhelp%2F2087193751603668&event_type=click&last_nav_impression_id=0m3TRxrxOlly1eRmB&max_percent_page_viewed=22&max_viewport_height_px=1326&max_viewport_width_px=2560&orig_http_referrer=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fwhatsapp%2Fcloud-api%2Fget-started-for-bsps%3Flocale%3Den_US&orig_request_uri=https%3A%2F%2Fdevelopers.facebook.com%2Fajax%2Fpagelet%2Fgeneric.php%2FDeveloperNotificationsPayloadPagelet%3Ffb_dtsg_ag%3D--sanitized--%26data%3D%257B%2522businessUserID%2522%253Anull%252C%2522cursor%2522%253Anull%252C%2522length%2522%253A15%252C%2522clientRequestID%2522%253A%2522js_k6%2522%257D%26__usid%3D6-Trd7hi4itpm%253APrd7ifiub2tvy%253A0-Ard7g9twdm0p1-RV%253D6%253AF%253D%26locale%3Den_US%26jazoest%3D24920®ion=emea&scrolled=false&session_id=1jLoVJNU6iVMaw3ml&site=developers>`__.
|
|
49
54
|
|
|
50
|
-
If you create a test Business Account, passwords will change every 24
|
|
55
|
+
If you create a test Business Account, passwords will change every 24
|
|
56
|
+
hours.
|
|
51
57
|
|
|
52
58
|
In order to make the webhook accessible, the system must be public.
|
|
53
59
|
|
|
54
60
|
Configure the gateway
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
Once you have created the Meta App, you need to add the gateway and
|
|
58
|
-
In order to make it you must follow this steps:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
61
|
+
---------------------
|
|
62
|
+
|
|
63
|
+
Once you have created the Meta App, you need to add the gateway and
|
|
64
|
+
webhook. In order to make it you must follow this steps:
|
|
65
|
+
|
|
66
|
+
- Access Settings > Emails > Mail Gateway
|
|
67
|
+
- Create a Gateway of type WhatsApp
|
|
68
|
+
|
|
69
|
+
..
|
|
70
|
+
|
|
71
|
+
- Use the Meta App authentication key as Token field
|
|
72
|
+
- Use the Meta App Phone Number ID as Whatsapp from Phone field
|
|
73
|
+
- Use the Meta Account Business ID as Whatsapp account field (only if
|
|
74
|
+
you need sync templates)
|
|
75
|
+
- Write your own Webhook key
|
|
76
|
+
- Use the Application Secret Key on Whatsapp Security Key. It will be
|
|
77
|
+
used in order to validate the data
|
|
78
|
+
- Press the Integrate Webhook Key. In this case, it will not
|
|
79
|
+
integrate it, we need to make it manually
|
|
80
|
+
- Copy the webhook URL
|
|
81
|
+
|
|
82
|
+
- Access `Facebook Apps
|
|
83
|
+
website <https://developers.facebook.com/apps/>`__
|
|
84
|
+
- Access your App then Whatsapp > Configuration
|
|
85
|
+
- Create your webhook using your URL and put the Whatsapp Security Key
|
|
86
|
+
as validation Key
|
|
87
|
+
- Administer the Webhook and activate the messages webhook
|
|
75
88
|
|
|
76
89
|
Usage
|
|
77
90
|
=====
|
|
78
91
|
|
|
79
|
-
1. Access
|
|
92
|
+
1. Access Gateway
|
|
80
93
|
2. Wait until someone starts a conversation.
|
|
81
94
|
3. Now you will be able to respond and receive messages to this person.
|
|
82
95
|
|
|
@@ -85,8 +98,8 @@ Known issues / Roadmap
|
|
|
85
98
|
|
|
86
99
|
**WhatsApp templates**
|
|
87
100
|
|
|
88
|
-
|
|
89
|
-
|
|
101
|
+
- Add support for Variables
|
|
102
|
+
- Add support for Buttons
|
|
90
103
|
|
|
91
104
|
Bug Tracker
|
|
92
105
|
===========
|
|
@@ -94,7 +107,7 @@ Bug Tracker
|
|
|
94
107
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
|
|
95
108
|
In case of trouble, please check there if your issue has already been reported.
|
|
96
109
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
97
|
-
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_gateway_whatsapp%0Aversion:%
|
|
110
|
+
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_gateway_whatsapp%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
98
111
|
|
|
99
112
|
Do not contact contributors directly about support or help with technical issues.
|
|
100
113
|
|
|
@@ -102,27 +115,30 @@ Credits
|
|
|
102
115
|
=======
|
|
103
116
|
|
|
104
117
|
Authors
|
|
105
|
-
|
|
118
|
+
-------
|
|
106
119
|
|
|
107
120
|
* Creu Blanca
|
|
108
121
|
* Dixmit
|
|
109
122
|
|
|
110
123
|
Contributors
|
|
111
|
-
|
|
124
|
+
------------
|
|
125
|
+
|
|
126
|
+
- Olga Marco <olga.marco@creublanca.es>
|
|
127
|
+
|
|
128
|
+
- Enric Tobella <etobella@creublanca.es>
|
|
112
129
|
|
|
113
|
-
|
|
114
|
-
* Enric Tobella <etobella@creublanca.es>
|
|
115
|
-
* `Tecnativa <https://www.tecnativa.com>`_:
|
|
130
|
+
- `Tecnativa <https://www.tecnativa.com>`__:
|
|
116
131
|
|
|
117
|
-
|
|
132
|
+
- Carlos Lopez
|
|
118
133
|
|
|
119
134
|
Other credits
|
|
120
|
-
|
|
135
|
+
-------------
|
|
121
136
|
|
|
122
|
-
This work has been funded by AEOdoo (Asociación Española de Odoo -
|
|
137
|
+
This work has been funded by AEOdoo (Asociación Española de Odoo -
|
|
138
|
+
https://www.aeodoo.org)
|
|
123
139
|
|
|
124
140
|
Maintainers
|
|
125
|
-
|
|
141
|
+
-----------
|
|
126
142
|
|
|
127
143
|
This module is maintained by the OCA.
|
|
128
144
|
|
|
@@ -134,6 +150,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
134
150
|
mission is to support the collaborative development of Odoo features and
|
|
135
151
|
promote its widespread use.
|
|
136
152
|
|
|
137
|
-
This module is part of the `OCA/social <https://github.com/OCA/social/tree/
|
|
153
|
+
This module is part of the `OCA/social <https://github.com/OCA/social/tree/17.0/mail_gateway_whatsapp>`_ project on GitHub.
|
|
138
154
|
|
|
139
155
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "Mail Whatsapp Gateway",
|
|
6
6
|
"summary": """
|
|
7
7
|
Set a gateway for whatsapp""",
|
|
8
|
-
"version": "
|
|
8
|
+
"version": "17.0.1.0.0",
|
|
9
9
|
"license": "AGPL-3",
|
|
10
10
|
"author": "Creu Blanca, Dixmit, Odoo Community Association (OCA)",
|
|
11
11
|
"website": "https://github.com/OCA/social",
|
|
@@ -20,12 +20,8 @@
|
|
|
20
20
|
"views/mail_gateway.xml",
|
|
21
21
|
],
|
|
22
22
|
"assets": {
|
|
23
|
-
"mail.assets_messaging": [
|
|
24
|
-
"mail_gateway_whatsapp/static/src/models/**/*.js",
|
|
25
|
-
],
|
|
26
23
|
"web.assets_backend": [
|
|
27
|
-
"mail_gateway_whatsapp/static/src/components
|
|
28
|
-
"mail_gateway_whatsapp/static/src/components/**/*.js",
|
|
24
|
+
"mail_gateway_whatsapp/static/src/components/**/*",
|
|
29
25
|
],
|
|
30
26
|
},
|
|
31
27
|
}
|