odoo-addon-mail-gateway-whatsapp 16.0.1.1.0.9__py3-none-any.whl → 17.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.
Files changed (43) hide show
  1. odoo/addons/mail_gateway_whatsapp/README.rst +61 -45
  2. odoo/addons/mail_gateway_whatsapp/__manifest__.py +2 -6
  3. odoo/addons/mail_gateway_whatsapp/i18n/es.po +124 -136
  4. odoo/addons/mail_gateway_whatsapp/i18n/it.po +3 -13
  5. odoo/addons/mail_gateway_whatsapp/i18n/mail_gateway_whatsapp.pot +2 -23
  6. odoo/addons/mail_gateway_whatsapp/models/__init__.py +1 -1
  7. odoo/addons/mail_gateway_whatsapp/models/{mail_channel.py → discuss_channel.py} +5 -8
  8. odoo/addons/mail_gateway_whatsapp/models/mail_gateway_whatsapp.py +53 -33
  9. odoo/addons/mail_gateway_whatsapp/models/mail_thread.py +3 -7
  10. odoo/addons/mail_gateway_whatsapp/readme/CONFIGURE.md +35 -0
  11. odoo/addons/mail_gateway_whatsapp/readme/CONTRIBUTORS.md +7 -0
  12. odoo/addons/mail_gateway_whatsapp/readme/{CREDITS.rst → CREDITS.md} +2 -1
  13. odoo/addons/mail_gateway_whatsapp/readme/{DESCRIPTION.rst → DESCRIPTION.md} +2 -2
  14. odoo/addons/mail_gateway_whatsapp/readme/ROADMAP.md +4 -0
  15. odoo/addons/mail_gateway_whatsapp/readme/USAGE.md +3 -0
  16. odoo/addons/mail_gateway_whatsapp/static/description/index.html +55 -40
  17. odoo/addons/mail_gateway_whatsapp/static/src/components/message/message.xml +2 -2
  18. odoo/addons/mail_gateway_whatsapp/static/src/components/message/message_patch.esm.js +17 -0
  19. odoo/addons/mail_gateway_whatsapp/static/src/components/phone_field/phone_field.esm.js +1 -1
  20. odoo/addons/mail_gateway_whatsapp/static/src/components/phone_field/phone_field.xml +2 -2
  21. odoo/addons/mail_gateway_whatsapp/static/src/components/send_whatsapp_button/send_whatsapp_button.esm.js +3 -3
  22. odoo/addons/mail_gateway_whatsapp/tests/test_mail_gateway_whatsapp.py +10 -8
  23. odoo/addons/mail_gateway_whatsapp/tools/const.py +1 -1
  24. odoo/addons/mail_gateway_whatsapp/views/mail_gateway.xml +7 -10
  25. odoo/addons/mail_gateway_whatsapp/views/mail_whatsapp_template_views.xml +11 -26
  26. odoo/addons/mail_gateway_whatsapp/wizards/mail_compose_gateway_message.py +1 -3
  27. odoo/addons/mail_gateway_whatsapp/wizards/mail_compose_gateway_message.xml +2 -6
  28. odoo/addons/mail_gateway_whatsapp/wizards/whatsapp_composer.py +1 -2
  29. odoo/addons/mail_gateway_whatsapp/wizards/whatsapp_composer.xml +4 -11
  30. {odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.9.dist-info → odoo_addon_mail_gateway_whatsapp-17.0.1.0.1.dist-info}/METADATA +69 -52
  31. odoo_addon_mail_gateway_whatsapp-17.0.1.0.1.dist-info/RECORD +46 -0
  32. {odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.9.dist-info → odoo_addon_mail_gateway_whatsapp-17.0.1.0.1.dist-info}/WHEEL +1 -1
  33. odoo_addon_mail_gateway_whatsapp-17.0.1.0.1.dist-info/top_level.txt +1 -0
  34. odoo/addons/mail_gateway_whatsapp/i18n/es_VE.po +0 -1181
  35. odoo/addons/mail_gateway_whatsapp/readme/CONFIGURE.rst +0 -31
  36. odoo/addons/mail_gateway_whatsapp/readme/CONTRIBUTORS.rst +0 -5
  37. odoo/addons/mail_gateway_whatsapp/readme/ROADMAP.rst +0 -4
  38. odoo/addons/mail_gateway_whatsapp/readme/USAGE.rst +0 -3
  39. odoo/addons/mail_gateway_whatsapp/static/src/models/message.esm.js +0 -21
  40. odoo/addons/mail_gateway_whatsapp/static/src/models/message_view.esm.js +0 -25
  41. odoo/addons/mail_gateway_whatsapp/static/src/models/notification.esm.js +0 -25
  42. odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.9.dist-info/RECORD +0 -49
  43. 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:70475641a2c7498a1ee67811eadb397e33c33435cdd2efb8edce729026ad09c4
14
+ !! source digest: sha256:f99745f99127d060c4731aa38e0797139d71324cd21800ee7e6c72d581d90e9b
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/licence-AGPL--3-blue.png
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/16.0/mail_gateway_whatsapp
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-16-0/social-16-0-mail_gateway_whatsapp
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=16.0
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
- of partners in an integrated way.
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 define a phone number.
48
- You can follow this `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&region=emea&scrolled=false&session_id=1jLoVJNU6iVMaw3ml&site=developers>`_.
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&region=emea&scrolled=false&session_id=1jLoVJNU6iVMaw3ml&site=developers>`__.
49
54
 
50
- If you create a test Business Account, passwords will change every 24 hours.
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 webhook.
58
- In order to make it you must follow this steps:
59
-
60
- * Access `Settings > Emails > Mail Gateway`
61
- * Create a Gateway of type `WhatsApp`
62
-
63
- * Use the Meta App authentication key as `Token` field
64
- * Use the Meta App Phone Number ID as `Whatsapp from Phone` field
65
- * Use the Meta Account Business ID as `Whatsapp account` field (only if you need sync templates)
66
- * Write your own `Webhook key`
67
- * Use the Application Secret Key on `Whatsapp Security Key`. It will be used in order to validate the data
68
- * Press the `Integrate Webhook Key`. In this case, it will not integrate it, we need to make it manually
69
- * Copy the webhook URL
70
-
71
- * Access `Facebook Apps website <https://developers.facebook.com/apps/>`_
72
- * Access your App then `Whatsapp > Configuration`
73
- * Create your webhook using your URL and put the Whatsapp Security Key as validation Key
74
- * Administer the Webhook and activate the messages webhook
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 `Gateway`
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
- * Add support for `Variables`
89
- * Add support for `Buttons`
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:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
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
- * Olga Marco <olga.marco@creublanca.es>
114
- * Enric Tobella <etobella@creublanca.es>
115
- * `Tecnativa <https://www.tecnativa.com>`_:
130
+ - `Tecnativa <https://www.tecnativa.com>`__:
116
131
 
117
- * Carlos Lopez
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 - https://www.aeodoo.org)
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/16.0/mail_gateway_whatsapp>`_ project on GitHub.
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": "16.0.1.1.0",
8
+ "version": "17.0.1.0.1",
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/**/*.xml",
28
- "mail_gateway_whatsapp/static/src/components/**/*.js",
24
+ "mail_gateway_whatsapp/static/src/components/**/*",
29
25
  ],
30
26
  },
31
27
  }