Browse Source

[ADD] New module mail_sent.

pull/16/head
Jairo Llopis 9 years ago
parent
commit
ffdd938d93
  1. 64
      mail_sent/README.rst
  2. 0
      mail_sent/__init__.py
  3. 20
      mail_sent/__openerp__.py
  4. BIN
      mail_sent/static/description/icon.png
  5. 32
      mail_sent/views/mail.xml

64
mail_sent/README.rst

@ -0,0 +1,64 @@
.. 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
.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
.. branch is "8.0" for example
For further information, please visit:
* https://www.odoo.com/forum/help-1
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/ social/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 <https://github.com/OCA/
social/issues/new?body=module:%20 mail_sent%0Aversion:%20
8.0.1.0.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
Contributors
------------
* Rafael Blasco <rafabn@antiun.com>
* Jairo Llopis <yajo.sk8@gmail.com>
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.

0
mail_sent/__init__.py

20
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",
],
}

BIN
mail_sent/static/description/icon.png

After

Width: 128  |  Height: 128  |  Size: 9.2 KiB

32
mail_sent/views/mail.xml

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="action" model="ir.actions.client">
<field name="name">Sent</field>
<field name="tag">mail.wall</field>
<field name="res_model">mail.message</field>
<field name="context">{
'default_model': 'res.users',
'default_res_id': uid,
'thread_model': 'res.partner',
}</field>
<field name="params" eval="&quot;{
'domain': [
('author_id.user_ids', 'in', [uid]),
],
'view_mailbox': True,
'read_action': 'read',
'show_compose_message': False,
}&quot;"/>
<field name="help" type="html">
<p><b>No sent messages.</b></p>
<p>This list contains messages sent by you.</p>
</field>
</record>
<menuitem id="menu"
action="action"
parent="mail.mail_feeds"
groups="base.group_user"/>
</data>
</openerp>
Loading…
Cancel
Save