diff --git a/integration_whatsapp_chat_live/README.rst b/integration_whatsapp_chat_live/README.rst
index 2ace5ff22..6d2499bcd 100644
--- a/integration_whatsapp_chat_live/README.rst
+++ b/integration_whatsapp_chat_live/README.rst
@@ -1,34 +1,32 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
- :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
+ :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
-Whatsapp Chat Live Order
-=======================
-* Whatsapp Chat Live Order for Odoo 15
+Whatsapp Live Chat In Odoo V15
+==============================
+* The Whatsapp Live Chat In Odoo app is designed to facilitate real-time communication between businesses and their customers using the popular messaging platform,WhatsApp.
-Installation
-============
- - www.odoo.com/documentation/15.0/setup/install.html
- - Install our custom addon
+Configuration
+=============
+* No additional configurations needed
+
+Company
+-------
+* `Cybrosys Techno Solutions `__
License
=======
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3)
-(http://www.gnu.org/licenses/agpl.html)
-
-Company
--------
-* 'Cybrosys Techno Solutions `__
+(https://www.gnu.org/licenses/agpl-3.0-standalone.html)
Credits
-------
-* Developer: v15.0 Saleekha, odoo@cybrosys.com
-
-
+* Developer: (v15) Saleekha, odoo@cybrosys.com
Contacts
--------
* Mail Contact : odoo@cybrosys.com
+* Website : https://cybrosys.com
Bug Tracker
-----------
@@ -36,9 +34,12 @@ Bugs are tracked on GitHub Issues. In case of trouble, please check there if you
Maintainer
==========
+.. image:: https://cybrosys.com/images/logo.png
+ :target: https://cybrosys.com
+
This module is maintained by Cybrosys Technologies.
-For support and more information, please visit https://www.cybrosys.com
+For support and more information, please visit `Our Website `__
Further information
===================
diff --git a/integration_whatsapp_chat_live/__manifest__.py b/integration_whatsapp_chat_live/__manifest__.py
index 0180e59c9..7c5a84d8b 100644
--- a/integration_whatsapp_chat_live/__manifest__.py
+++ b/integration_whatsapp_chat_live/__manifest__.py
@@ -19,10 +19,16 @@
#
#############################################################################
{
- 'name': 'Whatsapp Chat Live Order',
+ 'name': 'Whatsapp Live Chat In Odoo',
'version': '15.0.1.0.0',
- 'summary': 'Send Message to partner via Whatsapp web',
- 'description': 'Send Message to partner via Whatsapp web',
+ 'summary': """The Whatsapp Live Chat In Odoo app is designed to facilitate
+ real-time communication between businesses and their customers using the
+ popular messaging platform,WhatsApp.""",
+ 'description': """This module is designed to facilitate real-time
+ communication between businesses and their customers using the popular
+ messaging platform,WhatsApp.With Whatsapp Live Chat In Odoo, businesses can
+ offer immediate support, answer inquiries, and provide personalized
+ assistance to customers through the familiar WhatsApp interface.""",
'category': 'Extra Tools',
'author': 'Cybrosys Techno solutions',
'maintainer': 'Cybrosys Techno Solutions',
@@ -32,16 +38,15 @@
'base', 'contacts', 'stock', 'website', 'website_sale'
],
'data': [
- 'views/settings_whatsapp.xml',
- 'views/views.xml',
+ 'views/res_config_settings_views.xml',
+ 'views/integration_whatsapp_chat_live_template.xml',
],
'assets': {
'web.assets_backend': [
'integration_whatsapp_chat_live/static/src/css/wp_msg.css',
]
},
-
- 'images': ['static/description/banner.png'],
+ 'images': ['static/description/banner.jpg'],
'installable': True,
'application': False,
'auto_install': False,
diff --git a/integration_whatsapp_chat_live/doc/RELEASE_NOTES.md b/integration_whatsapp_chat_live/doc/RELEASE_NOTES.md
index 69f88277e..b2a6875ac 100644
--- a/integration_whatsapp_chat_live/doc/RELEASE_NOTES.md
+++ b/integration_whatsapp_chat_live/doc/RELEASE_NOTES.md
@@ -1,6 +1,6 @@
## Module
-#### 18.2.2023
+#### 27.11.2023
#### Version 15.0.1.0.0
##### ADD
-- Initial Commit for Whatsapp Chat Live Order
+- Initial Commit for Whatsapp Live Chat In Odoo
diff --git a/integration_whatsapp_chat_live/models/res_config_settings.py b/integration_whatsapp_chat_live/models/res_config_settings.py
index 74a7e8ba2..08c41df5d 100644
--- a/integration_whatsapp_chat_live/models/res_config_settings.py
+++ b/integration_whatsapp_chat_live/models/res_config_settings.py
@@ -18,8 +18,7 @@
# If not, see .
#
#############################################################################
-
-from odoo import api, fields, models
+from odoo import fields, models
class ResConfigSettings(models.TransientModel):
@@ -29,37 +28,8 @@ class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
mobile_phone_no = fields.Char(srting='Mobile Phone No:',
+ config_parameter="integration_whatsapp_chat_live.mobile_phone_no",
help='User Can add mobile number')
- custom_message = fields.Text(string="Custom Message",
+ custom_message = fields.Char(string="Custom Message",
+ config_parameter="integration_whatsapp_chat_live.custom_message",
help='User Can add custom message')
-
- @api.model
- def get_values(self):
- """
- Return values for the fields mobile number and custom messages
- """
- res = super(ResConfigSettings, self).get_values()
-
- params = self.env['ir.config_parameter'].sudo()
- mobile_no_id = params.get_param(
- 'integration_whatsapp_chat_live.mobile_phone_no')
- custom_message_id = params.get_param(
- 'integration_whatsapp_chat_live.custom_message')
- res.update(
- mobile_phone_no=mobile_no_id,
- custom_message=custom_message_id,
- )
- return res
-
- @api.model
- def set_values(self):
- """
- Set values for the fields mobile number and custom messages
- """
- super(ResConfigSettings, self).set_values()
- self.env['ir.config_parameter'].sudo().set_param(
- "integration_whatsapp_chat_live.mobile_phone_no",
- self.mobile_phone_no)
- self.env['ir.config_parameter'].sudo().set_param(
- "integration_whatsapp_chat_live.custom_message",
- self.custom_message)
diff --git a/integration_whatsapp_chat_live/static/description/banner.jpg b/integration_whatsapp_chat_live/static/description/banner.jpg
new file mode 100644
index 000000000..bde9f40b6
Binary files /dev/null and b/integration_whatsapp_chat_live/static/description/banner.jpg differ
diff --git a/integration_whatsapp_chat_live/static/description/banner.png b/integration_whatsapp_chat_live/static/description/banner.png
deleted file mode 100644
index 3664700f5..000000000
Binary files a/integration_whatsapp_chat_live/static/description/banner.png and /dev/null differ
diff --git a/integration_whatsapp_chat_live/static/description/index.html b/integration_whatsapp_chat_live/static/description/index.html
index 162974c0e..b3386b4d0 100644
--- a/integration_whatsapp_chat_live/static/description/index.html
+++ b/integration_whatsapp_chat_live/static/description/index.html
@@ -17,11 +17,22 @@
-
+
+ style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
+ class="mr-2">
Community
+
+ Enterprise
+
+
+ Odoo.sh
+
@@ -33,7 +44,7 @@
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;">
- WhatsApp Chat Live Order
+ Whatsapp Live Chat In Odoo
Send Message to partner via WhatsApp web
@@ -153,22 +164,23 @@
- Community Support
+ Support in Community, enterprise and Odoo.sh
- Available in Odoo 15.0 Community .
+ Available in Odoo 15.0 Community, Enterprise and
+ Odoo.sh
-
-
- While choosing a product from the Website, it is simple to
- interact via WhatsApp.
-
+
+
+ While choosing a product from the Website, it is simple to
+ interact via WhatsApp.
+
@@ -189,7 +201,8 @@
Setting Mobile phone numbers and adding any custom messages
- Go to Website Settings > There we can give the mobile phone number, add any custom messages and save.
+ Go to Website Settings > There we can give the mobile phone
+ number, add any custom messages and save.
@@ -201,7 +214,7 @@
WhatsApp clickable button
- WhatsApp web can be accessed by clicking that button.
+ WhatsApp web can be accessed by clicking that button.
- Click Continue Chat to be redirected to the corresponding chat form for the mobile phone specified in the website settings.
- We can also see that personalised message as well as the product we selected.
+ Click Continue to Chat to be redirected to the corresponding chat
+ form for the mobile phone specified in the website settings.
+ We can also see that personalised message as well as the product we
+ selected.
+
+
+
+
+
+
+
+
diff --git a/integration_whatsapp_chat_live/views/res_config_settings_views.xml b/integration_whatsapp_chat_live/views/res_config_settings_views.xml
new file mode 100644
index 000000000..ab38a6cd1
--- /dev/null
+++ b/integration_whatsapp_chat_live/views/res_config_settings_views.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+ res.config.settings.view.form.inherit.integration.whatsapp.chat.live
+
+ res.config.settings
+
+
+
+
+
+
Whatsapp Live Order
+
+
+
+
+
+
diff --git a/integration_whatsapp_chat_live/views/settings_whatsapp.xml b/integration_whatsapp_chat_live/views/settings_whatsapp.xml
deleted file mode 100644
index 7080973fa..000000000
--- a/integration_whatsapp_chat_live/views/settings_whatsapp.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
- res.config.settings.view.form.inherit.base.setup
- res.config.settings
-
-
-
- >
-
-
Whatsapp Live Order
-
-
-
-
-
-
-
diff --git a/integration_whatsapp_chat_live/views/views.xml b/integration_whatsapp_chat_live/views/views.xml
deleted file mode 100644
index dcf7ca34d..000000000
--- a/integration_whatsapp_chat_live/views/views.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file