diff --git a/mail_sent/README.rst b/mail_sent/README.rst new file mode 100644 index 00000000..4c9b8627 --- /dev/null +++ b/mail_sent/README.rst @@ -0,0 +1,61 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +========== +Sent mails +========== + +This module was written to extend the functionality of mails to support seeing only sent messages +and allow you to easily check them. + +Usage +===== + +To use this module, you need to: + +* Go to *Messaging > Messaging > Sent*. +* If you wish to see only unread ones, click on the counter bubble (if any). + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/205/8.0 + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and +welcomed feedback `here `_. + + +Credits +======= + +* Thanks to `Danny Allen `_ and `Openclipart + `_ for `the icon + `_. + +Contributors +------------ + +* Rafael Blasco +* Jairo Llopis + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. diff --git a/mail_sent/__init__.py b/mail_sent/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/mail_sent/__openerp__.py b/mail_sent/__openerp__.py new file mode 100644 index 00000000..b7d41a82 --- /dev/null +++ b/mail_sent/__openerp__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# © 2015 Antiun Ingeniería, S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "name": "Sent mails", + "summary": "Provide a view of sent mails", + "version": "8.0.1.0.0", + "category": "Social Network", + "website": "https://odoo-community.org/", + "author": "Antiun Ingeniería, S.L., Odoo Community Association (OCA)", + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": [ + "mail", + ], + "data": [ + "views/mail.xml", + ], +} diff --git a/mail_sent/i18n/es.po b/mail_sent/i18n/es.po new file mode 100644 index 00000000..040721e7 --- /dev/null +++ b/mail_sent/i18n/es.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_sent +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 16:49+0200\n" +"PO-Revision-Date: 2015-09-29 16:50+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.8.4\n" +"Last-Translator: \n" +"Language: es\n" + +#. module: mail_sent +#: model:ir.actions.client,help:mail_sent.action +msgid "" +"

No sent messages.

\n" +"

This list contains messages sent by you.

\n" +" " +msgstr "" +"

No hay mensajes enviados.

\n" +"

Esta lista contiene mensajes enviados por usted.

" + +#. module: mail_sent +#: model:ir.actions.client,name:mail_sent.action +#: model:ir.ui.menu,name:mail_sent.menu +msgid "Sent" +msgstr "Enviados" diff --git a/mail_sent/i18n/mail_sent.pot b/mail_sent/i18n/mail_sent.pot new file mode 100644 index 00000000..757e514b --- /dev/null +++ b/mail_sent/i18n/mail_sent.pot @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_sent +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 14:47+0000\n" +"PO-Revision-Date: 2015-09-29 14:47+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: mail_sent +#: model:ir.actions.client,help:mail_sent.action +msgid "

No sent messages.

\n" +"

This list contains messages sent by you.

\n" +" " +msgstr "" + +#. module: mail_sent +#: model:ir.actions.client,name:mail_sent.action +#: model:ir.ui.menu,name:mail_sent.menu +msgid "Sent" +msgstr "" + diff --git a/mail_sent/static/description/icon.png b/mail_sent/static/description/icon.png new file mode 100644 index 00000000..0ef2ace3 Binary files /dev/null and b/mail_sent/static/description/icon.png differ diff --git a/mail_sent/static/description/icon.svg b/mail_sent/static/description/icon.svg new file mode 100644 index 00000000..7bf3353d --- /dev/null +++ b/mail_sent/static/description/icon.svg @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + folder sent mail + 2011-01-31T01:00:19 + Originally uploaded by Danny Allen for OCAL 0.18 - this is one icon from the flat theme + https://openclipart.org/detail/110941/folder-sent-mail-by-anonymous + + + Anonymous + + + + + flat + icon + theme + + + + + + + + + + + diff --git a/mail_sent/views/mail.xml b/mail_sent/views/mail.xml new file mode 100644 index 00000000..8b2eb529 --- /dev/null +++ b/mail_sent/views/mail.xml @@ -0,0 +1,32 @@ + + + + + Sent + mail.wall + mail.message + { + 'default_model': 'res.users', + 'default_res_id': uid, + 'thread_model': 'res.partner', + } + + +

No sent messages.

+

This list contains messages sent by you.

+
+
+ + +
+