From 4f4b8d03e2d3fbff1187bcc094c853c1d95e412d Mon Sep 17 00:00:00 2001 From: Peter Hahn Date: Tue, 22 Dec 2015 14:28:20 +0100 Subject: [PATCH 01/19] [WIP] Send mail using internal mail wizard --- web_widget_mail_send_odoo/__init__.py | 0 web_widget_mail_send_odoo/__openerp__.py | 26 +++++++++ web_widget_mail_send_odoo/assets.xml | 13 +++++ .../src/css/web_widget_mail_send_odoo.css | 1 + .../src/js/web_widget_mail_send_odoo.js | 53 +++++++++++++++++++ .../src/xml/web_widget_mail_send_odoo.xml | 8 +++ 6 files changed, 101 insertions(+) create mode 100644 web_widget_mail_send_odoo/__init__.py create mode 100644 web_widget_mail_send_odoo/__openerp__.py create mode 100644 web_widget_mail_send_odoo/assets.xml create mode 100644 web_widget_mail_send_odoo/static/src/css/web_widget_mail_send_odoo.css create mode 100644 web_widget_mail_send_odoo/static/src/js/web_widget_mail_send_odoo.js create mode 100644 web_widget_mail_send_odoo/static/src/xml/web_widget_mail_send_odoo.xml diff --git a/web_widget_mail_send_odoo/__init__.py b/web_widget_mail_send_odoo/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/web_widget_mail_send_odoo/__openerp__.py b/web_widget_mail_send_odoo/__openerp__.py new file mode 100644 index 00000000..6303dfb1 --- /dev/null +++ b/web_widget_mail_send_odoo/__openerp__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# © 2015 initOS GmbH () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + 'name': 'Mail open internally', + 'summary': 'Open mail in new window', + 'version': '8.0.1.0.0', + "category": "Social Network", + 'website': 'https://odoo-community.org', + 'author': 'initOS GmbH, Odoo Community Association (OCA)', + "license": "AGPL-3", + 'application': False, + 'installable': True, + 'auto_install': False, + 'depends': [ + 'web', + 'mail', + ], + 'data': [ + 'assets.xml', + ], + 'qweb': [ + 'static/src/xml/web_widget_mail_send_odoo.xml', + ], +} diff --git a/web_widget_mail_send_odoo/assets.xml b/web_widget_mail_send_odoo/assets.xml new file mode 100644 index 00000000..728c55e3 --- /dev/null +++ b/web_widget_mail_send_odoo/assets.xml @@ -0,0 +1,13 @@ + + + + +