Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] website whatsapp: Migration to 18.0 #1079

Open
wants to merge 15 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions website_whatsapp/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
================
Website Whatsapp
================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:77ac81d45dd2eac1e55963bb2fc443d4274d5b396c43906c61c60645905943eb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
:target: https://github.com/OCA/website/tree/18.0/website_whatsapp
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-18-0/website-18-0-website_whatsapp
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Enable a WhatsApp floating button on the website to be able to send a
message quickly

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

1. Go to **Website > Configuration > Settings**
2. Search 'Use Whatsapp' option.
3. Fill in your 'WhatsApp number' and the other optional values

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_whatsapp%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Studio73

Contributors
------------

- `Studio73 <https://www.studio73.es>`__:

- Ioan Galan <ioan@studio73.es>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-ioans73| image:: https://github.com/ioans73.png?size=40px
:target: https://github.com/ioans73
:alt: ioans73

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-ioans73|

This module is part of the `OCA/website <https://github.com/OCA/website/tree/18.0/website_whatsapp>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions website_whatsapp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
21 changes: 21 additions & 0 deletions website_whatsapp/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2022 Studio73 - Ioan Galan <ioan@studio73.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Website Whatsapp",
"summary": "Whatsapp integration",
"category": "Website",
"version": "18.0.1.0.0",
"website": "https://github.com/OCA/website",
"author": "Studio73, Odoo Community Association (OCA)",
"maintainers": ["ioans73"],
"license": "AGPL-3",
"depends": ["website"],
"data": [
"templates/website.xml",
"views/res_config_settings.xml",
],
"assets": {
"web.assets_frontend": ["/website_whatsapp/static/src/scss/website.scss"]
},
"installable": True,
}
83 changes: 83 additions & 0 deletions website_whatsapp/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_whatsapp
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-01-02 21:33+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: website_whatsapp
#: model_terms:ir.ui.view,arch_db:website_whatsapp.res_config_settings_view_form
msgid ""
"<span class=\"fa fa-lg fa-globe\" title=\"Values set here are website-"
"specific.\" groups=\"website.group_multi_website\"/>"
msgstr ""
"<span class=\"fa fa-lg fa-globe\" title=\"Values set here are website-"
"specific.\" groups=\"website.group_multi_website\"/>"

#. module: website_whatsapp
#: model:ir.model,name:website_whatsapp.model_res_config_settings
msgid "Config Settings"
msgstr "Ajustes de Config"

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_text
#: model:ir.model.fields,field_description:website_whatsapp.field_website__whatsapp_text
msgid "Default text for Whatsapp"
msgstr "Texto predeterminado para Whatsapp"

#. module: website_whatsapp
#: model:ir.model.fields,help:website_whatsapp.field_res_config_settings__whatsapp_text
#: model:ir.model.fields,help:website_whatsapp.field_website__whatsapp_text
msgid "Default text to send as message"
msgstr "Texto predeterminado para enviar como mensaje"

#. module: website_whatsapp
#: model:ir.model.fields,help:website_whatsapp.field_res_config_settings__whatsapp_track_url
#: model:ir.model.fields,help:website_whatsapp.field_website__whatsapp_track_url
msgid ""
"Indicate in the user's message the URL of the page from which it was sent"
msgstr ""
"Indicar en el mensaje del usuario la URL de la página desde la que se envió"

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_track_url
#: model:ir.model.fields,field_description:website_whatsapp.field_website__whatsapp_track_url
msgid "Track URL"
msgstr "URL de seguimiento"

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_enabled
msgid "Use Whatsapp"
msgstr "Utilizar Whatsapp"

#. module: website_whatsapp
#: model:ir.model,name:website_whatsapp.model_website
msgid "Website"
msgstr "Sitio Web"

#. module: website_whatsapp
#: model_terms:ir.ui.view,arch_db:website_whatsapp.layout
msgid "WhatsApp Floating Icon"
msgstr ""

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_number
#: model:ir.model.fields,field_description:website_whatsapp.field_website__whatsapp_number
msgid "WhatsApp number"
msgstr "Número de WhatsApp"

#. module: website_whatsapp
#: model_terms:ir.ui.view,arch_db:website_whatsapp.res_config_settings_view_form
msgid "You must add the mobile number with the country prefix"
msgstr "Debes añadir el número de móvil con el prefijo del país"
84 changes: 84 additions & 0 deletions website_whatsapp/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_whatsapp
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-07-08 08:59+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.6.2\n"

#. module: website_whatsapp
#: model_terms:ir.ui.view,arch_db:website_whatsapp.res_config_settings_view_form
msgid ""
"<span class=\"fa fa-lg fa-globe\" title=\"Values set here are website-"
"specific.\" groups=\"website.group_multi_website\"/>"
msgstr ""
"<span class=\"fa fa-lg fa-globe\" title=\"I valori impostati qui sono "
"specifici per sito web.\" groups=\"website.group_multi_website\"/>"

#. module: website_whatsapp
#: model:ir.model,name:website_whatsapp.model_res_config_settings
msgid "Config Settings"
msgstr "Impostazioni configurazione"

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_text
#: model:ir.model.fields,field_description:website_whatsapp.field_website__whatsapp_text
msgid "Default text for Whatsapp"
msgstr "Testo predefinito per Whatsapp"

#. module: website_whatsapp
#: model:ir.model.fields,help:website_whatsapp.field_res_config_settings__whatsapp_text
#: model:ir.model.fields,help:website_whatsapp.field_website__whatsapp_text
msgid "Default text to send as message"
msgstr "Testo predefinito da inviare come messaggio"

#. module: website_whatsapp
#: model:ir.model.fields,help:website_whatsapp.field_res_config_settings__whatsapp_track_url
#: model:ir.model.fields,help:website_whatsapp.field_website__whatsapp_track_url
msgid ""
"Indicate in the user's message the URL of the page from which it was sent"
msgstr ""
"Indicare nel messaggio utente l'URL della pagina da cui è stato inviato"

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_track_url
#: model:ir.model.fields,field_description:website_whatsapp.field_website__whatsapp_track_url
msgid "Track URL"
msgstr "Traccia URL"

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_enabled
msgid "Use Whatsapp"
msgstr "Utilizza Whatsapp"

#. module: website_whatsapp
#: model:ir.model,name:website_whatsapp.model_website
msgid "Website"
msgstr "Sito web"

#. module: website_whatsapp
#: model_terms:ir.ui.view,arch_db:website_whatsapp.layout
msgid "WhatsApp Floating Icon"
msgstr "Icona flottante Whatsapp"

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_number
#: model:ir.model.fields,field_description:website_whatsapp.field_website__whatsapp_number
msgid "WhatsApp number"
msgstr "Numero Whatsapp"

#. module: website_whatsapp
#: model_terms:ir.ui.view,arch_db:website_whatsapp.res_config_settings_view_form
msgid "You must add the mobile number with the country prefix"
msgstr ""
"È necessario aggiungere il numero del cellulare con il prefisso della nazione"
77 changes: 77 additions & 0 deletions website_whatsapp/i18n/website_whatsapp.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_whatsapp
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: website_whatsapp
#: model_terms:ir.ui.view,arch_db:website_whatsapp.res_config_settings_view_form
msgid ""
"<span class=\"fa fa-lg fa-globe\" title=\"Values set here are website-"
"specific.\" groups=\"website.group_multi_website\"/>"
msgstr ""

#. module: website_whatsapp
#: model:ir.model,name:website_whatsapp.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_text
#: model:ir.model.fields,field_description:website_whatsapp.field_website__whatsapp_text
msgid "Default text for Whatsapp"
msgstr ""

#. module: website_whatsapp
#: model:ir.model.fields,help:website_whatsapp.field_res_config_settings__whatsapp_text
#: model:ir.model.fields,help:website_whatsapp.field_website__whatsapp_text
msgid "Default text to send as message"
msgstr ""

#. module: website_whatsapp
#: model:ir.model.fields,help:website_whatsapp.field_res_config_settings__whatsapp_track_url
#: model:ir.model.fields,help:website_whatsapp.field_website__whatsapp_track_url
msgid ""
"Indicate in the user's message the URL of the page from which it was sent"
msgstr ""

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_track_url
#: model:ir.model.fields,field_description:website_whatsapp.field_website__whatsapp_track_url
msgid "Track URL"
msgstr ""

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_enabled
msgid "Use Whatsapp"
msgstr ""

#. module: website_whatsapp
#: model:ir.model,name:website_whatsapp.model_website
msgid "Website"
msgstr ""

#. module: website_whatsapp
#: model_terms:ir.ui.view,arch_db:website_whatsapp.layout
msgid "WhatsApp Floating Icon"
msgstr ""

#. module: website_whatsapp
#: model:ir.model.fields,field_description:website_whatsapp.field_res_config_settings__whatsapp_number
#: model:ir.model.fields,field_description:website_whatsapp.field_website__whatsapp_number
msgid "WhatsApp number"
msgstr ""

#. module: website_whatsapp
#: model_terms:ir.ui.view,arch_db:website_whatsapp.res_config_settings_view_form
msgid "You must add the mobile number with the country prefix"
msgstr ""
2 changes: 2 additions & 0 deletions website_whatsapp/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import res_config_settings
from . import website
Loading
Loading