diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2013-02-22 16:38:40 +0100 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2013-02-22 16:38:40 +0100 |
| commit | f1a4d9de04dfdbee05d58fdc1c36646e127af7f4 (patch) | |
| tree | 856f2fb42ab8eaaf4f0bd6608999a47d17cea75d | |
| parent | ae8d9a8e08d1527dfd5fe9a1c7cd728d10856d01 (diff) | |
[IMP] also add the archive box
bzr revid: abo@openerp.com-20130222153840-ev66cs1pz4lr8vgo
| -rw-r--r-- | addons/portal/portal_view.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/addons/portal/portal_view.xml b/addons/portal/portal_view.xml index 2c3286f8c76..760972da881 100644 --- a/addons/portal/portal_view.xml +++ b/addons/portal/portal_view.xml @@ -68,6 +68,34 @@ </field> </record> + <record id="action_mail_archives_feeds" model="ir.actions.client"> + <field name="name">Archives</field> + <field name="tag">mail.wall</field> + <field name="context">{ + 'default_model': 'res.users', + 'default_res_id': uid + }</field> + <field name="params" eval=""{ + 'domain': [ + '|', + ('notification_ids.partner_id.user_ids', 'in', [uid]), + ('author_id.user_ids', 'in', [uid]), + ], + 'show_compose_message': False, + 'show_link': False, + 'view_mailbox': True, + 'read_action': 'read' + }""/> + <field name="help" type="html"> + <p> + No message found and no message sent yet. + </p><p> + Click on the top-right icon to compose a message. This + message will be sent by email if it's an internal contact. + </p> + </field> + </record> + <menuitem name="Inbox" id="portal_inbox" parent="portal_messages" action="action_mail_inbox_feeds_portal" sequence="10" groups="portal.group_portal"/> <menuitem name="To-do" id="portal_mail_starfeeds" parent="portal_messages" |
