diff --git a/whatsapp_mail_messaging/__init__.py b/whatsapp_mail_messaging/__init__.py new file mode 100644 index 000000000..dda7ab060 --- /dev/null +++ b/whatsapp_mail_messaging/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Sayooj A O() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import wizard diff --git a/whatsapp_mail_messaging/__manifest__.py b/whatsapp_mail_messaging/__manifest__.py new file mode 100644 index 000000000..474db62c3 --- /dev/null +++ b/whatsapp_mail_messaging/__manifest__.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Sayooj A O() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Whatsapp And Mail Messaging', + 'version': '14.0.1.0.0', + 'category': 'Extra Tools', + 'summary': """Module which allows to sent Whatsapp messages and Mails from any view of + Odoo""", + 'description': """Whatsapp Odoo, Whatsapp Odoo Message, Whatsapp, Odoo Whatsapp, Module which allows to sent Whatsapp messages and Mails from any view of + Odoo""", + 'author': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'depends': ['contacts', 'mail'], + 'data': [ + 'views/assets.xml', + 'wizard/wh_message_wizard.xml', + 'security/ir.model.access.csv', + ], + 'qweb': [ + 'static/src/xml/whatsapp_button.xml', + 'static/src/xml/mail_button.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': True, +} diff --git a/whatsapp_mail_messaging/doc/changelog.md b/whatsapp_mail_messaging/doc/changelog.md new file mode 100644 index 000000000..20d230936 --- /dev/null +++ b/whatsapp_mail_messaging/doc/changelog.md @@ -0,0 +1,10 @@ +## Module + +#### 14.05.2021 +#### Version 14.0.1.0.0 +#### ADD +- Initial commit + + + + diff --git a/whatsapp_mail_messaging/security/ir.model.access.csv b/whatsapp_mail_messaging/security/ir.model.access.csv new file mode 100644 index 000000000..df424fde7 --- /dev/null +++ b/whatsapp_mail_messaging/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_whatsapp_message_wizard,access.whatsapp.message.wizard,model_whatsapp_message_wizard,base.group_user,1,1,1,1 + diff --git a/whatsapp_mail_messaging/static/description/banner.jpg b/whatsapp_mail_messaging/static/description/banner.jpg new file mode 100644 index 000000000..9861361f0 Binary files /dev/null and b/whatsapp_mail_messaging/static/description/banner.jpg differ diff --git a/whatsapp_mail_messaging/static/description/icon.png b/whatsapp_mail_messaging/static/description/icon.png new file mode 100644 index 000000000..484b7ccbb Binary files /dev/null and b/whatsapp_mail_messaging/static/description/icon.png differ diff --git a/whatsapp_mail_messaging/static/description/images/mail_1.png b/whatsapp_mail_messaging/static/description/images/mail_1.png new file mode 100644 index 000000000..535106a28 Binary files /dev/null and b/whatsapp_mail_messaging/static/description/images/mail_1.png differ diff --git a/whatsapp_mail_messaging/static/description/images/mail_2.png b/whatsapp_mail_messaging/static/description/images/mail_2.png new file mode 100644 index 000000000..49ec2df24 Binary files /dev/null and b/whatsapp_mail_messaging/static/description/images/mail_2.png differ diff --git a/whatsapp_mail_messaging/static/description/images/mail_3.png b/whatsapp_mail_messaging/static/description/images/mail_3.png new file mode 100644 index 000000000..7ca20ab22 Binary files /dev/null and b/whatsapp_mail_messaging/static/description/images/mail_3.png differ diff --git a/whatsapp_mail_messaging/static/description/images/screen.gif b/whatsapp_mail_messaging/static/description/images/screen.gif new file mode 100644 index 000000000..0df84a38a Binary files /dev/null and b/whatsapp_mail_messaging/static/description/images/screen.gif differ diff --git a/whatsapp_mail_messaging/static/description/images/whatsapp_1.png b/whatsapp_mail_messaging/static/description/images/whatsapp_1.png new file mode 100644 index 000000000..8a9848323 Binary files /dev/null and b/whatsapp_mail_messaging/static/description/images/whatsapp_1.png differ diff --git a/whatsapp_mail_messaging/static/description/images/whatsapp_2.png b/whatsapp_mail_messaging/static/description/images/whatsapp_2.png new file mode 100644 index 000000000..b49041b46 Binary files /dev/null and b/whatsapp_mail_messaging/static/description/images/whatsapp_2.png differ diff --git a/whatsapp_mail_messaging/static/description/images/whatsapp_3.png b/whatsapp_mail_messaging/static/description/images/whatsapp_3.png new file mode 100644 index 000000000..0424e2604 Binary files /dev/null and b/whatsapp_mail_messaging/static/description/images/whatsapp_3.png differ diff --git a/whatsapp_mail_messaging/static/description/images/whatsapp_4.png b/whatsapp_mail_messaging/static/description/images/whatsapp_4.png new file mode 100644 index 000000000..101c32efa Binary files /dev/null and b/whatsapp_mail_messaging/static/description/images/whatsapp_4.png differ diff --git a/whatsapp_mail_messaging/static/description/images/whatsapp_5.png b/whatsapp_mail_messaging/static/description/images/whatsapp_5.png new file mode 100644 index 000000000..bb2ae1d4f Binary files /dev/null and b/whatsapp_mail_messaging/static/description/images/whatsapp_5.png differ diff --git a/whatsapp_mail_messaging/static/description/images/whatsapp_6.png b/whatsapp_mail_messaging/static/description/images/whatsapp_6.png new file mode 100644 index 000000000..76d1454ef Binary files /dev/null and b/whatsapp_mail_messaging/static/description/images/whatsapp_6.png differ diff --git a/whatsapp_mail_messaging/static/description/index.html b/whatsapp_mail_messaging/static/description/index.html new file mode 100644 index 000000000..0025b3266 --- /dev/null +++ b/whatsapp_mail_messaging/static/description/index.html @@ -0,0 +1,791 @@ + + + + + + + + Whatsapp Mail Messaging + + + + + + +
+
+
+ +
+
+ +
+

+ Whatsapp Mail Messaging

+ +

+ Send Whatsapp messages and Mails from any view of Odoo +

+ + Key Highlights + +
+
+
+ +
    +
  • Added Whatsapp and Mail icons in Systray for easy access from any views. +
  • +
  • Can send mails to any valid mail addresses along with attachments. +
  • Can send Whatsapp messages to any valid mobile numbers. + along with country code. +
  • +
  • After sending message from odoo then automatically + redirected to Whatsapp web with our message. +
  • +
  • Our module also supporting the emojis along with the whatsapp messages. +
+
+
+
+ +
+ + +
+ + + + +
+ +
+ +
+
+
+ + +
+
+ +
+
+

+ Overview

+ +

In this module we have added Whatsapp and Mail icon in the systray bar which + the user can send messages through whatsapp and mail from any view using these icons.The mails will be sent from the mail + which we configured as the outgoing mail server and in case of whatsapp message, it will redirected to the whatsapp web.

+
+
+

+ Features

+
    +
  • +
    + Added Whatsapp and Mail icons in Systray for easy access from any views.
    +
  • +
  • +
    + Can send mails to any valid mail addresses along with attachments.
    +
  • +
  • +
    + Can send Whatsapp messages to any valid mobile numbers. + along with country code.
    +
  • +
  • +
    + After sending message from odoo then automatically + redirected to Whatsapp web with our message.
    +
  • +
  • +
    + Our module also supporting the emojis along with the whatsapp messages.
    +
  • +
+
+
+

+ Screenshots

+
+
+ + + + + + + +
+
+
+
+ +
+
+
+ +
+

+ Suggested Products

+
+ +
+ + +
+ +
+
+ Odoo Gold Partner +
+
+

+ Our Services

+

We provide following services

+ +
+
+
+ Odoo Gold Partner +
+
+ + +
+ +
+ + +
+
+
+

+ Need Help?

+
+
+
+ + +
+
+
Visit us
+

Visit our + website for more + information.

+ www.cybrosys.com +
+ +
+
Write to us
+

Do you + have any queries regarding our + products & services? Let us know.

+ odoo@cybrosys.com + info@cybrosys.com +
+ b + +
+
Follow Us
+

Follow us + on social media for latest + updates.

+
+ + + + + + +
+ +
+ +
+
+
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + + + + diff --git a/whatsapp_mail_messaging/static/src/js/mail_button.js b/whatsapp_mail_messaging/static/src/js/mail_button.js new file mode 100644 index 000000000..a1b492e37 --- /dev/null +++ b/whatsapp_mail_messaging/static/src/js/mail_button.js @@ -0,0 +1,24 @@ +odoo.define('global_mail_message.mail_button', function(require) { + "use strict"; + var SystrayMenu = require('web.SystrayMenu'); + var Widget = require('web.Widget'); + var ActionMenu = Widget.extend({ + template: 'global_mail_message.mail_icon', + events: { + 'click .mail_icon': 'onclick_mail_icon', + }, + onclick_mail_icon: function() { + var self = this; + self.do_action({ + name: 'Compose Mail', + res_model: 'mail.compose.message', + views: [[false, 'form']], + type: 'ir.actions.act_window', + view_mode: 'form', + target: 'new' + }); + }, + }); + SystrayMenu.Items.push(ActionMenu); + return ActionMenu; +}); \ No newline at end of file diff --git a/whatsapp_mail_messaging/static/src/js/whatsapp_button.js b/whatsapp_mail_messaging/static/src/js/whatsapp_button.js new file mode 100644 index 000000000..08f073f7a --- /dev/null +++ b/whatsapp_mail_messaging/static/src/js/whatsapp_button.js @@ -0,0 +1,24 @@ +odoo.define('whatsapp_mail_messaging.whatsapp_button', function(require) { + "use strict"; + var SystrayMenu = require('web.SystrayMenu'); + var Widget = require('web.Widget'); + var ActionMenu = Widget.extend({ + template: 'whatsapp_mail_messaging.whatsapp_icon', + events: { + 'click .whatsapp_icon': 'onclick_whatsapp_icon', + }, + onclick_whatsapp_icon: function() { + var self = this; + self.do_action({ + name: 'Compose Whatsapp Message', + res_model: 'whatsapp.message.wizard', + views: [[false, 'form']], + type: 'ir.actions.act_window', + view_mode: 'form', + target: 'new' + }); + }, + }); + SystrayMenu.Items.push(ActionMenu); + return ActionMenu; +}); \ No newline at end of file diff --git a/whatsapp_mail_messaging/static/src/xml/mail_button.xml b/whatsapp_mail_messaging/static/src/xml/mail_button.xml new file mode 100644 index 000000000..b349ab769 --- /dev/null +++ b/whatsapp_mail_messaging/static/src/xml/mail_button.xml @@ -0,0 +1,14 @@ + + + +
  • + +
  • +
    +
    \ No newline at end of file diff --git a/whatsapp_mail_messaging/static/src/xml/whatsapp_button.xml b/whatsapp_mail_messaging/static/src/xml/whatsapp_button.xml new file mode 100644 index 000000000..7fbbbd109 --- /dev/null +++ b/whatsapp_mail_messaging/static/src/xml/whatsapp_button.xml @@ -0,0 +1,14 @@ + + + +
  • + +
  • +
    +
    \ No newline at end of file diff --git a/whatsapp_mail_messaging/views/assets.xml b/whatsapp_mail_messaging/views/assets.xml new file mode 100644 index 000000000..4edd6b3c4 --- /dev/null +++ b/whatsapp_mail_messaging/views/assets.xml @@ -0,0 +1,11 @@ + + + +