diff --git a/whatsapp_product_inquiry/__manifest__.py b/whatsapp_product_inquiry/__manifest__.py index 5cb739c73..60054464c 100644 --- a/whatsapp_product_inquiry/__manifest__.py +++ b/whatsapp_product_inquiry/__manifest__.py @@ -20,7 +20,7 @@ ############################################################################### { 'name': "Whatsapp Product Inquiry In Website", - 'version': '17.0.1.0.0', + 'version': '17.0.1.1.0', 'category': 'eCommerce', 'summary': 'Customers can inquire Website product details through Whatsapp', 'description': """By installing this module, there will be an Inquire @@ -35,6 +35,11 @@ 'views/res_company_views.xml', 'views/website_sale_templates.xml' ], + 'assets': { + 'web.assets_frontend': [ + 'whatsapp_product_inquiry/static/src/css/style.css', + ], + }, 'images': ['static/description/banner.jpg'], 'license': 'AGPL-3', 'installable': True, diff --git a/whatsapp_product_inquiry/doc/RELEASE_NOTES.md b/whatsapp_product_inquiry/doc/RELEASE_NOTES.md index 310ebe82c..54c461acb 100644 --- a/whatsapp_product_inquiry/doc/RELEASE_NOTES.md +++ b/whatsapp_product_inquiry/doc/RELEASE_NOTES.md @@ -4,3 +4,10 @@ #### ADD - Initial commit for Whatsapp Product Inquiry In Website + +## Module +#### 08.07.2024 +#### Version 17.0.1.1.0 +#### UPDATE + +- Updated style issue of the Whatsapp inquiry button in Website added a Spanish translation to the module. diff --git a/whatsapp_product_inquiry/i18n/es.po b/whatsapp_product_inquiry/i18n/es.po new file mode 100644 index 000000000..a903d126f --- /dev/null +++ b/whatsapp_product_inquiry/i18n/es.po @@ -0,0 +1,62 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * whatsapp_product_inquiry +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-07-08 06:15+0000\n" +"PO-Revision-Date: 2024-07-08 06:15+0000\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: whatsapp_product_inquiry +#: model_terms:ir.ui.view,arch_db:whatsapp_product_inquiry.whatsapp_inquiry +msgid "" +"\n" +" INQUIRE" +msgstr "\n" +" indagar dentro" + +#. module: whatsapp_product_inquiry +#: model:ir.model,name:whatsapp_product_inquiry.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: whatsapp_product_inquiry +#: model:ir.model.fields,field_description:whatsapp_product_inquiry.field_res_company__message +msgid "Message" +msgstr "Mensaje" + +#. module: whatsapp_product_inquiry +#: model:ir.model.fields,help:whatsapp_product_inquiry.field_res_company__whatsapp_number +msgid "" +"The Company Whatsapp Number to which the Inquiry messages has to be received" +msgstr "El número de Whatsapp de la empresa al que se deben recibir los mensajes de consulta." + +#. module: whatsapp_product_inquiry +#: model:ir.model.fields,help:whatsapp_product_inquiry.field_res_company__message +msgid "This will be the Inquiry message" +msgstr "Este será el mensaje de consulta." + +#. module: whatsapp_product_inquiry +#: model_terms:ir.ui.view,arch_db:whatsapp_product_inquiry.view_company_form +msgid "Whatsapp Configuration" +msgstr "Configuración de whatsapp" + +#. module: whatsapp_product_inquiry +#: model:ir.model.fields,field_description:whatsapp_product_inquiry.field_res_company__whatsapp_number +msgid "Whatsapp Number" +msgstr "Número de whatsapp" + +#. module: whatsapp_product_inquiry +#. odoo-python +#: code:addons/whatsapp_product_inquiry/models/res_company.py:0 +#, python-format +msgid "Whatsapp Number should be valid number without any space or signs" +msgstr "El número de Whatsapp debe ser un número válido sin espacios ni signos." diff --git a/whatsapp_product_inquiry/static/src/css/style.css b/whatsapp_product_inquiry/static/src/css/style.css new file mode 100644 index 000000000..9e1e5dc25 --- /dev/null +++ b/whatsapp_product_inquiry/static/src/css/style.css @@ -0,0 +1,13 @@ +/** Inquire Button styling at different screen size **/ + +@media (max-width:440px) { + div#product_details #whatsapp_inquiry_wrap{ + margin-left: 0%; + } +} + +@media (max-width:1390px) { + div#product_details #whatsapp_inquiry_wrap{ + margin-left: 0%; + } +} diff --git a/whatsapp_product_inquiry/views/website_sale_templates.xml b/whatsapp_product_inquiry/views/website_sale_templates.xml index bcc550601..1f9d2124b 100644 --- a/whatsapp_product_inquiry/views/website_sale_templates.xml +++ b/whatsapp_product_inquiry/views/website_sale_templates.xml @@ -5,7 +5,7 @@ name="Product Whatsapp Inquiry">