diff --git a/global_mail_message/README.rst b/global_mail_message/README.rst new file mode 100644 index 000000000..deff351c0 --- /dev/null +++ b/global_mail_message/README.rst @@ -0,0 +1,41 @@ +Global Mail Message +=================== +* Module for sending mail from any view of the Odoo using systray button + +Installation +============ + - www.odoo.com/documentation/14.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/14.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: +(v14) Sayooj @ Cybrosys + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ + diff --git a/global_mail_message/__init__.py b/global_mail_message/__init__.py new file mode 100644 index 000000000..47a6a34dc --- /dev/null +++ b/global_mail_message/__init__.py @@ -0,0 +1,21 @@ +# -*- 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 . +# +############################################################################# diff --git a/global_mail_message/__manifest__.py b/global_mail_message/__manifest__.py new file mode 100644 index 000000000..9b0aa865e --- /dev/null +++ b/global_mail_message/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-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': 'Global Mail Message', + 'version': '14.0.1.0.0', + 'category': 'Accounting', + 'summary': """Module which allows to send mails from any view""", + 'description': """Module which allows to send mails from any view""", + 'author': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'depends': ['contacts', 'mail'], + 'data': [ + 'views/assets.xml', + ], + 'qweb': [ + 'static/src/xml/mail_button.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': True, +} diff --git a/global_mail_message/doc/changelog.md b/global_mail_message/doc/changelog.md new file mode 100644 index 000000000..9aeb1450d --- /dev/null +++ b/global_mail_message/doc/changelog.md @@ -0,0 +1,10 @@ +## Module + +#### 03.05.2021 +#### Version 14.0.1.0.0 +#### ADD +- Initial commit + + + + diff --git a/global_mail_message/static/description/banner.jpg b/global_mail_message/static/description/banner.jpg new file mode 100644 index 000000000..b3eebd8d2 Binary files /dev/null and b/global_mail_message/static/description/banner.jpg differ diff --git a/global_mail_message/static/description/icon.png b/global_mail_message/static/description/icon.png new file mode 100644 index 000000000..d11e7907b Binary files /dev/null and b/global_mail_message/static/description/icon.png differ diff --git a/global_mail_message/static/description/images/global_mail1.png b/global_mail_message/static/description/images/global_mail1.png new file mode 100644 index 000000000..be2ba82a1 Binary files /dev/null and b/global_mail_message/static/description/images/global_mail1.png differ diff --git a/global_mail_message/static/description/images/global_mail2.png b/global_mail_message/static/description/images/global_mail2.png new file mode 100644 index 000000000..b7fccdce2 Binary files /dev/null and b/global_mail_message/static/description/images/global_mail2.png differ diff --git a/global_mail_message/static/description/images/global_mail3.png b/global_mail_message/static/description/images/global_mail3.png new file mode 100644 index 000000000..5a5b227be Binary files /dev/null and b/global_mail_message/static/description/images/global_mail3.png differ diff --git a/global_mail_message/static/description/images/global_mail_config.png b/global_mail_message/static/description/images/global_mail_config.png new file mode 100644 index 000000000..b19b14a9f Binary files /dev/null and b/global_mail_message/static/description/images/global_mail_config.png differ diff --git a/global_mail_message/static/description/images/screen.gif b/global_mail_message/static/description/images/screen.gif new file mode 100644 index 000000000..12de4acea Binary files /dev/null and b/global_mail_message/static/description/images/screen.gif differ diff --git a/global_mail_message/static/description/index.html b/global_mail_message/static/description/index.html new file mode 100644 index 000000000..2a74b229f --- /dev/null +++ b/global_mail_message/static/description/index.html @@ -0,0 +1,687 @@ + + + + + + + + Invoice Template Editor + + + + + + +
+
+
+ +
+
+ +
+

+ Global Mail Message

+ +

+ Send mails from any view of Odoo +

+ + Key Highlights + +
+
+
+ +
    +
  • Added a button in Systray for easy access from any views. +
  • +
  • Can send mails to any valid emails along with attachments. +
  • +
+
+
+
+ +
+ + +
+ + + + +
+ +
+ +
+
+
+ + +
+
+ +
+
+

+ Overview

+ +

In this global mail message app we have added a button in the + systray bar for sending mails when ever we need regardless of the any records in odoo,the + only configuration we have to do is the setting up the outgoing mail server.

+
+
+

+ Features

+
    +
  • +
    + Added a button in Systray for easy access from any views.
    +
  • +
  • +
    + Can send mails to any valid emails along with attachments.
    +
  • +
+
+
+

+ 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/global_mail_message/static/src/js/mail_button.js b/global_mail_message/static/src/js/mail_button.js new file mode 100644 index 000000000..a1b492e37 --- /dev/null +++ b/global_mail_message/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/global_mail_message/static/src/xml/mail_button.xml b/global_mail_message/static/src/xml/mail_button.xml new file mode 100644 index 000000000..b349ab769 --- /dev/null +++ b/global_mail_message/static/src/xml/mail_button.xml @@ -0,0 +1,14 @@ + + + +
  • + +
  • +
    +
    \ No newline at end of file diff --git a/global_mail_message/views/assets.xml b/global_mail_message/views/assets.xml new file mode 100644 index 000000000..b2aea7087 --- /dev/null +++ b/global_mail_message/views/assets.xml @@ -0,0 +1,10 @@ + + + +