odoo-addon-mail-gateway-whatsapp 16.0.1.0.0.10__py3-none-any.whl → 16.0.1.1.0__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 +13 -1
- odoo/addons/mail_gateway_whatsapp/__init__.py +1 -0
- odoo/addons/mail_gateway_whatsapp/__manifest__.py +4 -1
- odoo/addons/mail_gateway_whatsapp/i18n/es.po +34 -32
- odoo/addons/mail_gateway_whatsapp/i18n/mail_gateway_whatsapp.pot +590 -0
- odoo/addons/mail_gateway_whatsapp/models/__init__.py +1 -0
- odoo/addons/mail_gateway_whatsapp/models/mail_gateway.py +61 -1
- odoo/addons/mail_gateway_whatsapp/models/mail_gateway_whatsapp.py +24 -3
- odoo/addons/mail_gateway_whatsapp/models/mail_whatsapp_template.py +193 -0
- odoo/addons/mail_gateway_whatsapp/readme/CONFIGURE.rst +1 -0
- odoo/addons/mail_gateway_whatsapp/readme/CONTRIBUTORS.rst +3 -0
- odoo/addons/mail_gateway_whatsapp/readme/ROADMAP.rst +4 -0
- odoo/addons/mail_gateway_whatsapp/security/ir.model.access.csv +2 -0
- odoo/addons/mail_gateway_whatsapp/security/security.xml +8 -0
- odoo/addons/mail_gateway_whatsapp/static/description/index.html +41 -19
- odoo/addons/mail_gateway_whatsapp/tests/__init__.py +1 -0
- odoo/addons/mail_gateway_whatsapp/tests/test_mail_gateway_whatsapp.py +75 -1
- odoo/addons/mail_gateway_whatsapp/tests/test_mail_whatsapp_template.py +170 -0
- odoo/addons/mail_gateway_whatsapp/tools/__init__.py +1 -0
- odoo/addons/mail_gateway_whatsapp/tools/const.py +75 -0
- odoo/addons/mail_gateway_whatsapp/views/mail_gateway.xml +28 -0
- odoo/addons/mail_gateway_whatsapp/views/mail_whatsapp_template_views.xml +154 -0
- odoo/addons/mail_gateway_whatsapp/wizards/__init__.py +1 -0
- odoo/addons/mail_gateway_whatsapp/wizards/mail_compose_gateway_message.py +30 -0
- odoo/addons/mail_gateway_whatsapp/wizards/mail_compose_gateway_message.xml +31 -0
- odoo/addons/mail_gateway_whatsapp/wizards/whatsapp_composer.py +53 -1
- odoo/addons/mail_gateway_whatsapp/wizards/whatsapp_composer.xml +11 -1
- {odoo_addon_mail_gateway_whatsapp-16.0.1.0.0.10.dist-info → odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.dist-info}/METADATA +14 -2
- odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.dist-info/RECORD +48 -0
- {odoo_addon_mail_gateway_whatsapp-16.0.1.0.0.10.dist-info → odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.dist-info}/WHEEL +1 -1
- odoo_addon_mail_gateway_whatsapp-16.0.1.0.0.10.dist-info/RECORD +0 -39
- {odoo_addon_mail_gateway_whatsapp-16.0.1.0.0.10.dist-info → odoo_addon_mail_gateway_whatsapp-16.0.1.1.0.dist-info}/top_level.txt +0 -0
|
@@ -7,7 +7,7 @@ Mail Whatsapp 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:70475641a2c7498a1ee67811eadb397e33c33435cdd2efb8edce729026ad09c4
|
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
12
|
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -62,6 +62,7 @@ In order to make it you must follow this steps:
|
|
|
62
62
|
|
|
63
63
|
* Use the Meta App authentication key as `Token` field
|
|
64
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)
|
|
65
66
|
* Write your own `Webhook key`
|
|
66
67
|
* Use the Application Secret Key on `Whatsapp Security Key`. It will be used in order to validate the data
|
|
67
68
|
* Press the `Integrate Webhook Key`. In this case, it will not integrate it, we need to make it manually
|
|
@@ -79,6 +80,14 @@ Usage
|
|
|
79
80
|
2. Wait until someone starts a conversation.
|
|
80
81
|
3. Now you will be able to respond and receive messages to this person.
|
|
81
82
|
|
|
83
|
+
Known issues / Roadmap
|
|
84
|
+
======================
|
|
85
|
+
|
|
86
|
+
**WhatsApp templates**
|
|
87
|
+
|
|
88
|
+
* Add support for `Variables`
|
|
89
|
+
* Add support for `Buttons`
|
|
90
|
+
|
|
82
91
|
Bug Tracker
|
|
83
92
|
===========
|
|
84
93
|
|
|
@@ -103,6 +112,9 @@ Contributors
|
|
|
103
112
|
|
|
104
113
|
* Olga Marco <olga.marco@creublanca.es>
|
|
105
114
|
* Enric Tobella <etobella@creublanca.es>
|
|
115
|
+
* `Tecnativa <https://www.tecnativa.com>`_:
|
|
116
|
+
|
|
117
|
+
* Carlos Lopez
|
|
106
118
|
|
|
107
119
|
Other credits
|
|
108
120
|
~~~~~~~~~~~~~
|
|
@@ -5,15 +5,18 @@
|
|
|
5
5
|
"name": "Mail Whatsapp Gateway",
|
|
6
6
|
"summary": """
|
|
7
7
|
Set a gateway for whatsapp""",
|
|
8
|
-
"version": "16.0.1.
|
|
8
|
+
"version": "16.0.1.1.0",
|
|
9
9
|
"license": "AGPL-3",
|
|
10
10
|
"author": "Creu Blanca, Dixmit, Odoo Community Association (OCA)",
|
|
11
11
|
"website": "https://github.com/OCA/social",
|
|
12
12
|
"depends": ["mail_gateway", "phone_validation"],
|
|
13
13
|
"external_dependencies": {"python": ["requests_toolbelt"]},
|
|
14
14
|
"data": [
|
|
15
|
+
"security/security.xml",
|
|
15
16
|
"security/ir.model.access.csv",
|
|
16
17
|
"wizards/whatsapp_composer.xml",
|
|
18
|
+
"wizards/mail_compose_gateway_message.xml",
|
|
19
|
+
"views/mail_whatsapp_template_views.xml",
|
|
17
20
|
"views/mail_gateway.xml",
|
|
18
21
|
],
|
|
19
22
|
"assets": {
|
|
@@ -6,7 +6,7 @@ msgid ""
|
|
|
6
6
|
msgstr ""
|
|
7
7
|
"Project-Id-Version: Odoo Server 16.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
|
-
"PO-Revision-Date: 2024-11-
|
|
9
|
+
"PO-Revision-Date: 2024-11-20 17:06+0000\n"
|
|
10
10
|
"Last-Translator: PabloMartin32 <pablo.martin@factorlibre.com>\n"
|
|
11
11
|
"Language-Team: none\n"
|
|
12
12
|
"Language: es\n"
|
|
@@ -23,37 +23,37 @@ msgid ""
|
|
|
23
23
|
" You should set some random value of your choice for this fields.\n"
|
|
24
24
|
" Ensure that facebook will be able to comunicate with your server.</span>"
|
|
25
25
|
msgstr ""
|
|
26
|
-
"<span>Escriba los valores en los campo <b>Clave Webhook</b>y <b>Clave de "
|
|
26
|
+
"<span>Escriba los valores en los campo <b>Clave Webhook</b> y <b>Clave de "
|
|
27
27
|
"seguridad de Whatsapp</b>\n"
|
|
28
28
|
" Deberá poner "
|
|
29
|
-
"valores
|
|
29
|
+
"los valores de su elección en estos campos\n"
|
|
30
30
|
" Asegurese de "
|
|
31
31
|
"que Facebook podrá contactar con su servidor."
|
|
32
32
|
|
|
33
33
|
#. module: mail_gateway_whatsapp
|
|
34
34
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
35
35
|
msgid "Access"
|
|
36
|
-
msgstr "
|
|
36
|
+
msgstr "Acceda"
|
|
37
37
|
|
|
38
38
|
#. module: mail_gateway_whatsapp
|
|
39
39
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
40
40
|
msgid "Access the menu <b>Configuration / Advanced Options</b>."
|
|
41
|
-
msgstr "
|
|
41
|
+
msgstr "Acceda al menú <b> Configuración / Opciones Avanzadas</b>."
|
|
42
42
|
|
|
43
43
|
#. module: mail_gateway_whatsapp
|
|
44
44
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
45
45
|
msgid "Access the menu <b>Configuration / Basic information</b>."
|
|
46
|
-
msgstr "
|
|
46
|
+
msgstr "Acceda al menú <b>Configuración / Información básica</b>."
|
|
47
47
|
|
|
48
48
|
#. module: mail_gateway_whatsapp
|
|
49
49
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
50
50
|
msgid "Access your"
|
|
51
|
-
msgstr "Accede a
|
|
51
|
+
msgstr "Accede a su"
|
|
52
52
|
|
|
53
53
|
#. module: mail_gateway_whatsapp
|
|
54
54
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
55
55
|
msgid "Access your business settings menu"
|
|
56
|
-
msgstr "
|
|
56
|
+
msgstr "Acceda a su menú de ajustes"
|
|
57
57
|
|
|
58
58
|
#. module: mail_gateway_whatsapp
|
|
59
59
|
#: model:ir.model.fields,field_description:mail_gateway_whatsapp.field_res_partner__message_needaction
|
|
@@ -63,7 +63,7 @@ msgstr "Acción requerida"
|
|
|
63
63
|
#. module: mail_gateway_whatsapp
|
|
64
64
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
65
65
|
msgid "Add a new number."
|
|
66
|
-
msgstr "
|
|
66
|
+
msgstr "Añada un número nuevo."
|
|
67
67
|
|
|
68
68
|
#. module: mail_gateway_whatsapp
|
|
69
69
|
#: model:ir.model.fields,field_description:mail_gateway_whatsapp.field_res_partner__message_attachment_count
|
|
@@ -73,7 +73,7 @@ msgstr "Recuento de archivos adjuntos"
|
|
|
73
73
|
#. module: mail_gateway_whatsapp
|
|
74
74
|
#: model:ir.model.fields,field_description:mail_gateway_whatsapp.field_res_partner__mobile_blacklisted
|
|
75
75
|
msgid "Blacklisted Phone Is Mobile"
|
|
76
|
-
msgstr "El teléfono de la lista negra
|
|
76
|
+
msgstr "El teléfono de la lista negra es un móvil"
|
|
77
77
|
|
|
78
78
|
#. module: mail_gateway_whatsapp
|
|
79
79
|
#: model:ir.model.fields,field_description:mail_gateway_whatsapp.field_res_partner__phone_blacklisted
|
|
@@ -95,12 +95,12 @@ msgstr "Cancelar"
|
|
|
95
95
|
#. module: mail_gateway_whatsapp
|
|
96
96
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
97
97
|
msgid "Click on <b>Edit Button</b> on the webhook area."
|
|
98
|
-
msgstr "Pulsa en <b>Editar</b>
|
|
98
|
+
msgstr "Pulsa en <b>Editar</b> en el área del webhook."
|
|
99
99
|
|
|
100
100
|
#. module: mail_gateway_whatsapp
|
|
101
101
|
#: model:ir.model,name:mail_gateway_whatsapp.model_whatsapp_composer
|
|
102
102
|
msgid "Compose a whatsapp message"
|
|
103
|
-
msgstr "Redacte un mensaje
|
|
103
|
+
msgstr "Redacte un mensaje de Whatsapp"
|
|
104
104
|
|
|
105
105
|
#. module: mail_gateway_whatsapp
|
|
106
106
|
#: model:ir.model,name:mail_gateway_whatsapp.model_res_partner
|
|
@@ -118,13 +118,13 @@ msgid ""
|
|
|
118
118
|
"Copy the phone identification number to the field <b>Whastapp From phone</b>"
|
|
119
119
|
" field."
|
|
120
120
|
msgstr ""
|
|
121
|
-
"Copie el número de
|
|
121
|
+
"Copie el identificador del número de teléfono en el campo <b>Whatsapp desde "
|
|
122
122
|
"el teléfono</b>."
|
|
123
123
|
|
|
124
124
|
#. module: mail_gateway_whatsapp
|
|
125
125
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
126
126
|
msgid "Copy the token value to token field in this page."
|
|
127
|
-
msgstr "Copie el valor del token en el campo token de esta página."
|
|
127
|
+
msgstr "Copie el valor del token en el campo \"token\" de esta página."
|
|
128
128
|
|
|
129
129
|
#. module: mail_gateway_whatsapp
|
|
130
130
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
@@ -149,7 +149,7 @@ msgstr "Creando un token permanente"
|
|
|
149
149
|
#. module: mail_gateway_whatsapp
|
|
150
150
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
151
151
|
msgid "Creating the Application from meta developer"
|
|
152
|
-
msgstr "Creando la aplicación desde el
|
|
152
|
+
msgstr "Creando la aplicación desde el desarrollador de meta"
|
|
153
153
|
|
|
154
154
|
#. module: mail_gateway_whatsapp
|
|
155
155
|
#: model:ir.model,name:mail_gateway_whatsapp.model_mail_channel
|
|
@@ -179,7 +179,7 @@ msgstr "Correo electrónico"
|
|
|
179
179
|
#. module: mail_gateway_whatsapp
|
|
180
180
|
#: model:ir.model.fields,field_description:mail_gateway_whatsapp.field_res_partner__failed_message_ids
|
|
181
181
|
msgid "Failed Messages"
|
|
182
|
-
msgstr "
|
|
182
|
+
msgstr "Mensajes fallidos"
|
|
183
183
|
|
|
184
184
|
#. module: mail_gateway_whatsapp
|
|
185
185
|
#: model:ir.model.fields,help:mail_gateway_whatsapp.field_res_partner__phone_sanitized
|
|
@@ -187,8 +187,8 @@ msgid ""
|
|
|
187
187
|
"Field used to store sanitized phone number. Helps speeding up searches and "
|
|
188
188
|
"comparisons."
|
|
189
189
|
msgstr ""
|
|
190
|
-
"Campo utilizado para almacenar el número de teléfono.
|
|
191
|
-
"búsquedas y las comparaciones."
|
|
190
|
+
"Campo utilizado para almacenar el número de teléfono saneado. Ayuda a "
|
|
191
|
+
"acelerar las búsquedas y las comparaciones."
|
|
192
192
|
|
|
193
193
|
#. module: mail_gateway_whatsapp
|
|
194
194
|
#: model:ir.model.fields,field_description:mail_gateway_whatsapp.field_whatsapp_composer__find_gateway
|
|
@@ -225,13 +225,13 @@ msgstr "Tipo de Gateway"
|
|
|
225
225
|
msgid ""
|
|
226
226
|
"Go to <b>Users / System Users</b> and create a new one with administrator"
|
|
227
227
|
msgstr ""
|
|
228
|
-
"Vaya a <b> Usuarios / Usuarios del
|
|
229
|
-
"
|
|
228
|
+
"Vaya a <b> Usuarios / Usuarios del sistema</b> y cree uno nuevo como "
|
|
229
|
+
"administrador"
|
|
230
230
|
|
|
231
231
|
#. module: mail_gateway_whatsapp
|
|
232
232
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
233
233
|
msgid "Go to <b>Whatsapp / API Configuration</b> menú."
|
|
234
|
-
msgstr "Vaya a <b>Whatsapp / Configuración</b
|
|
234
|
+
msgstr "Vaya a <b>Whatsapp / Configuración API</b>."
|
|
235
235
|
|
|
236
236
|
#. module: mail_gateway_whatsapp
|
|
237
237
|
#: model:ir.model.fields,field_description:mail_gateway_whatsapp.field_res_partner__has_message
|
|
@@ -246,7 +246,7 @@ msgstr "ID"
|
|
|
246
246
|
#. module: mail_gateway_whatsapp
|
|
247
247
|
#: model:ir.model.fields,help:mail_gateway_whatsapp.field_res_partner__message_needaction
|
|
248
248
|
msgid "If checked, new messages require your attention."
|
|
249
|
-
msgstr "Si está marcado, mensajes
|
|
249
|
+
msgstr "Si está marcado, nuevos mensajes requieren su atención."
|
|
250
250
|
|
|
251
251
|
#. module: mail_gateway_whatsapp
|
|
252
252
|
#: model:ir.model.fields,help:mail_gateway_whatsapp.field_res_partner__message_has_error
|
|
@@ -294,7 +294,7 @@ msgid ""
|
|
|
294
294
|
"distinguish which number is blacklisted when there is both a "
|
|
295
295
|
"mobile and phone field in a model."
|
|
296
296
|
msgstr ""
|
|
297
|
-
"Indica si un teléfono
|
|
297
|
+
"Indica si un teléfono saneado es un número de teléfono. Ayuda a diferenciar "
|
|
298
298
|
"que número de teléfono está en una lista negra cuando hay tanto un número de "
|
|
299
299
|
"teléfono como de móvil."
|
|
300
300
|
|
|
@@ -407,7 +407,7 @@ msgid ""
|
|
|
407
407
|
"Key</b> field."
|
|
408
408
|
msgstr ""
|
|
409
409
|
"En el wizard, rellene el campo URL con el campo <b>Webhook URL</b> del "
|
|
410
|
-
"Gateway. Para la verificación de identidad, use
|
|
410
|
+
"Gateway. Para la verificación de identidad, use <b>el campo clave de "
|
|
411
411
|
"seguridad de Whatsapp</b>."
|
|
412
412
|
|
|
413
413
|
#. module: mail_gateway_whatsapp
|
|
@@ -416,8 +416,8 @@ msgid ""
|
|
|
416
416
|
"Once it is created, Generate a new token related to the created app with no "
|
|
417
417
|
"expiry and give access to all whatsapp permissions."
|
|
418
418
|
msgstr ""
|
|
419
|
-
"Una vez esté creado, genere un nuevo token relacionado con la
|
|
420
|
-
"manera permanente para dar acceso a todos los permisos de
|
|
419
|
+
"Una vez esté creado, genere un nuevo token relacionado con la aplicación "
|
|
420
|
+
"creada de manera permanente para dar acceso a todos los permisos de Whatsapp."
|
|
421
421
|
|
|
422
422
|
#. module: mail_gateway_whatsapp
|
|
423
423
|
#: model:ir.model.fields,field_description:mail_gateway_whatsapp.field_res_partner__phone_sanitized_blacklisted
|
|
@@ -454,7 +454,7 @@ msgstr "Guarde este registro. Se han rellenado todos los valores"
|
|
|
454
454
|
#. module: mail_gateway_whatsapp
|
|
455
455
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
456
456
|
msgid "Select a name and create it"
|
|
457
|
-
msgstr "Elija un nombre y
|
|
457
|
+
msgstr "Elija un nombre y creelo"
|
|
458
458
|
|
|
459
459
|
#. module: mail_gateway_whatsapp
|
|
460
460
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
@@ -462,13 +462,15 @@ msgid ""
|
|
|
462
462
|
"Select the <b>Other</b> option, then <b>Business</b> in order to create "
|
|
463
463
|
"Whatsapp manager"
|
|
464
464
|
msgstr ""
|
|
465
|
-
"Seleccione la <b>otra</b>opción,
|
|
466
|
-
"
|
|
465
|
+
"Seleccione la <b>otra</b>opción, después <b>Negocio</b>para crear un manager "
|
|
466
|
+
"de Whatsapp"
|
|
467
467
|
|
|
468
468
|
#. module: mail_gateway_whatsapp
|
|
469
469
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
470
470
|
msgid "Select the Whatsapp API on the products of the application"
|
|
471
|
-
msgstr "
|
|
471
|
+
msgstr ""
|
|
472
|
+
"Seleccione los productos de la aplicación en Whatsapp > Configuración de la "
|
|
473
|
+
"API"
|
|
472
474
|
|
|
473
475
|
#. module: mail_gateway_whatsapp
|
|
474
476
|
#: model_terms:ir.ui.view,arch_db:mail_gateway_whatsapp.mail_gateway_form_view
|
|
@@ -504,7 +506,7 @@ msgid ""
|
|
|
504
506
|
"Show the secret key of the application and copy it to the <b>Webhook "
|
|
505
507
|
"secret</b> field."
|
|
506
508
|
msgstr ""
|
|
507
|
-
"
|
|
509
|
+
"Pulse en clave secreta de la aplicación y copiela en el campo<b>Webhook "
|
|
508
510
|
"secret</b>."
|
|
509
511
|
|
|
510
512
|
#. module: mail_gateway_whatsapp
|
|
@@ -549,7 +551,7 @@ msgstr ""
|
|
|
549
551
|
#. module: mail_gateway_whatsapp
|
|
550
552
|
#: model:ir.model.fields,field_description:mail_gateway_whatsapp.field_mail_gateway__whatsapp_from_phone
|
|
551
553
|
msgid "Whatsapp From Phone"
|
|
552
|
-
msgstr "
|
|
554
|
+
msgstr "Teléfono origen de Whatsapp"
|
|
553
555
|
|
|
554
556
|
#. module: mail_gateway_whatsapp
|
|
555
557
|
#: model:ir.model,name:mail_gateway_whatsapp.model_mail_gateway_whatsapp
|