From b1810db7d7d29a4b96ad0c6d73f04734c44bf7a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Tue, 13 Oct 2015 16:59:21 +0200 Subject: [PATCH] [MOV] move addons out of __unported__ (they remain not installable) --- web_send_message_popup/__init__.py | 1 + web_send_message_popup/__openerp__.py | 49 +++++++++++++++++++ .../static/src/xml/mail.xml | 11 +++++ 3 files changed, 61 insertions(+) create mode 100644 web_send_message_popup/__init__.py create mode 100644 web_send_message_popup/__openerp__.py create mode 100644 web_send_message_popup/static/src/xml/mail.xml diff --git a/web_send_message_popup/__init__.py b/web_send_message_popup/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/web_send_message_popup/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/web_send_message_popup/__openerp__.py b/web_send_message_popup/__openerp__.py new file mode 100644 index 00000000..605174de --- /dev/null +++ b/web_send_message_popup/__openerp__.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Author: Guewen Baconnier +# Copyright 2014 Camptocamp SA +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +{'name': 'Web Send Message as Popup', + 'version': '1.0', + 'author': "Camptocamp,Odoo Community Association (OCA)", + 'maintainer': 'Camptocamp', + 'license': 'AGPL-3', + 'category': 'Hidden', + 'depends': ['web', + ], + 'description': """ +Web Send Message as Popup +========================= + +In the email/notes threads below the form views, the link 'Send a +message' unfold a text field. From there, a button allows to open the +text field in a full featured email popup with the subject, templates, +attachments and followers. + +This module changes the link 'Send a message' so it opens directly the +full featured popup instead of the text field, avoiding an extra click +if the popup is always wanted. + + """, + 'website': 'http://www.camptocamp.com', + 'qweb': ['static/src/xml/mail.xml', + ], + 'installable': False, + 'auto_install': False, +} diff --git a/web_send_message_popup/static/src/xml/mail.xml b/web_send_message_popup/static/src/xml/mail.xml new file mode 100644 index 00000000..21029a47 --- /dev/null +++ b/web_send_message_popup/static/src/xml/mail.xml @@ -0,0 +1,11 @@ + +