2011-02-01 11:43:08 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2012-10-15 14:17:31 +00:00
|
|
|
<record id="action_mail_inbox_feeds" model="ir.actions.client">
|
|
|
|
<field name="name">Inbox</field>
|
|
|
|
<field name="tag">mail.wall</field>
|
2012-11-09 14:00:20 +00:00
|
|
|
<field name="res_model">mail.message</field>
|
2012-11-05 15:54:50 +00:00
|
|
|
<field name="context">{
|
2013-02-20 17:46:10 +00:00
|
|
|
'default_model': 'res.users',
|
2012-11-15 09:54:00 +00:00
|
|
|
'default_res_id': uid,
|
2014-08-28 10:41:44 +00:00
|
|
|
'thread_model': 'res.partner',
|
2013-04-17 13:32:05 +00:00
|
|
|
'needaction_menu_ref': ['mail.mail_tomefeeds', 'mail.mail_starfeeds']
|
2012-11-05 15:54:50 +00:00
|
|
|
}</field>
|
2012-11-07 08:24:42 +00:00
|
|
|
<field name="params" eval=""{
|
2012-11-02 13:54:26 +00:00
|
|
|
'domain': [
|
2012-11-29 14:42:53 +00:00
|
|
|
('to_read', '=', True),
|
2012-11-29 11:30:25 +00:00
|
|
|
('starred', '=', False),
|
2012-11-05 15:54:50 +00:00
|
|
|
],
|
2012-11-02 13:54:26 +00:00
|
|
|
'view_mailbox': True,
|
2012-11-05 11:25:17 +00:00
|
|
|
'view_inbox': True,
|
2013-03-20 11:15:20 +00:00
|
|
|
'read_action': 'read',
|
|
|
|
'show_compose_message': False
|
2012-11-07 08:24:42 +00:00
|
|
|
}""/>
|
2012-11-09 15:04:00 +00:00
|
|
|
<field name="help" type="html">
|
|
|
|
<p>
|
2012-11-12 22:03:32 +00:00
|
|
|
<b>Good Job!</b> Your inbox is empty.
|
2012-11-09 15:04:00 +00:00
|
|
|
</p><p>
|
2012-11-12 18:39:19 +00:00
|
|
|
Your inbox contains private messages or emails sent to you
|
|
|
|
as well as information related to documents or people you
|
|
|
|
follow.
|
2012-11-09 15:04:00 +00:00
|
|
|
</p>
|
2012-10-31 14:56:10 +00:00
|
|
|
</field>
|
2012-10-15 14:17:31 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_mail_to_me_feeds" model="ir.actions.client">
|
|
|
|
<field name="name">To: me</field>
|
|
|
|
<field name="tag">mail.wall</field>
|
2012-11-09 14:00:20 +00:00
|
|
|
<field name="res_model">mail.message</field>
|
2012-11-05 15:54:50 +00:00
|
|
|
<field name="context">{
|
2013-02-20 17:46:10 +00:00
|
|
|
'default_model': 'res.users',
|
|
|
|
'default_res_id': uid,
|
2014-08-28 10:41:44 +00:00
|
|
|
'thread_model': 'res.partner',
|
2013-04-17 13:32:05 +00:00
|
|
|
'search_default_message_unread': True,
|
|
|
|
'needaction_menu_ref': ['mail.mail_starfeeds', 'mail.mail_inboxfeeds']
|
2012-11-05 15:54:50 +00:00
|
|
|
}</field>
|
2012-11-02 13:54:26 +00:00
|
|
|
<field name="params" eval=""{
|
2012-11-29 11:30:25 +00:00
|
|
|
'domain': [
|
|
|
|
('partner_ids.user_ids', 'in', [uid])
|
|
|
|
],
|
2012-11-02 13:54:26 +00:00
|
|
|
'view_mailbox': True,
|
2012-11-28 14:51:01 +00:00
|
|
|
'read_action': 'read',
|
2013-02-20 17:46:10 +00:00
|
|
|
'show_compose_message': False
|
|
|
|
}""/>
|
2012-11-09 15:04:00 +00:00
|
|
|
<field name="help" type="html">
|
|
|
|
<p>
|
2012-11-12 18:39:19 +00:00
|
|
|
<b>No private message.</b>
|
2012-11-09 15:04:00 +00:00
|
|
|
</p><p>
|
2012-11-12 18:39:19 +00:00
|
|
|
This list contains messages sent to you.
|
2012-11-09 15:04:00 +00:00
|
|
|
</p>
|
2012-11-05 15:54:50 +00:00
|
|
|
</field>
|
2012-10-15 14:17:31 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_mail_star_feeds" model="ir.actions.client">
|
2012-12-19 06:18:54 +00:00
|
|
|
<field name="name">To-do</field>
|
2012-10-15 14:17:31 +00:00
|
|
|
<field name="tag">mail.wall</field>
|
2012-11-09 14:00:20 +00:00
|
|
|
<field name="res_model">mail.message</field>
|
2012-11-05 15:54:50 +00:00
|
|
|
<field name="context">{
|
2013-02-20 17:46:10 +00:00
|
|
|
'default_model': 'res.users',
|
|
|
|
'default_res_id': uid,
|
2014-08-28 10:41:44 +00:00
|
|
|
'thread_model': 'res.partner',
|
2012-11-05 15:54:50 +00:00
|
|
|
'search_default_message_unread': True
|
|
|
|
}</field>
|
2012-11-02 13:54:26 +00:00
|
|
|
<field name="params" eval=""{
|
2012-11-29 11:30:25 +00:00
|
|
|
'domain': [
|
|
|
|
('starred', '=', True),
|
|
|
|
],
|
2012-11-02 13:54:26 +00:00
|
|
|
'view_mailbox': True,
|
2012-11-28 14:51:01 +00:00
|
|
|
'read_action': 'read',
|
2014-08-13 12:35:25 +00:00
|
|
|
'compose_as_todo': True,
|
|
|
|
'show_compose_message': False
|
2013-02-20 17:46:10 +00:00
|
|
|
}""/>
|
2012-11-09 15:04:00 +00:00
|
|
|
<field name="help" type="html">
|
|
|
|
<p>
|
2012-11-21 04:57:42 +00:00
|
|
|
<b>No todo.</b>
|
2012-11-09 15:04:00 +00:00
|
|
|
</p><p>
|
2012-11-12 22:21:19 +00:00
|
|
|
When you process messages in your inbox, you can mark some
|
|
|
|
as <i>todo</i>. From this menu, you can process all your todo.
|
2012-11-09 15:04:00 +00:00
|
|
|
</p>
|
2012-11-05 15:54:50 +00:00
|
|
|
</field>
|
2012-10-15 14:17:31 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_mail_archives_feeds" model="ir.actions.client">
|
2012-11-08 12:31:41 +00:00
|
|
|
<field name="name">Archives</field>
|
2012-10-15 14:17:31 +00:00
|
|
|
<field name="tag">mail.wall</field>
|
2012-11-05 15:54:50 +00:00
|
|
|
<field name="context">{
|
2013-02-20 17:46:10 +00:00
|
|
|
'default_model': 'res.users',
|
2013-04-17 13:32:05 +00:00
|
|
|
'default_res_id': uid,
|
2014-08-28 10:41:44 +00:00
|
|
|
'thread_model': 'res.partner',
|
2013-04-17 13:32:05 +00:00
|
|
|
'needaction_menu_ref': ['mail.mail_tomefeeds', 'mail.mail_starfeeds', 'mail.mail_inboxfeeds']
|
2012-11-05 15:54:50 +00:00
|
|
|
}</field>
|
2012-11-02 13:54:26 +00:00
|
|
|
<field name="params" eval=""{
|
2012-11-29 11:30:25 +00:00
|
|
|
'domain': [
|
|
|
|
'|',
|
|
|
|
('notification_ids.partner_id.user_ids', 'in', [uid]),
|
|
|
|
('author_id.user_ids', 'in', [uid]),
|
|
|
|
],
|
2012-11-28 14:51:01 +00:00
|
|
|
'view_mailbox': True,
|
2013-02-20 17:46:10 +00:00
|
|
|
'show_compose_message': False
|
|
|
|
}""/>
|
2012-11-09 15:04:00 +00:00
|
|
|
<field name="help" type="html">
|
|
|
|
<p>
|
2012-11-15 10:36:24 +00:00
|
|
|
No message found and no message sent yet.
|
2012-11-12 18:39:19 +00:00
|
|
|
</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.
|
2012-11-09 15:04:00 +00:00
|
|
|
</p>
|
2012-11-05 15:54:50 +00:00
|
|
|
</field>
|
2012-10-15 14:17:31 +00:00
|
|
|
</record>
|
|
|
|
|
2013-04-17 12:22:25 +00:00
|
|
|
<record id="action_mail_redirect" model="ir.actions.server">
|
|
|
|
<field name="name">Mail Redirection (Document / Inbox)</field>
|
|
|
|
<field name="condition">True</field>
|
|
|
|
<field name="model_id" ref="model_mail_thread"/>
|
|
|
|
<field name="code">action = pool.get('mail.thread').message_redirect_action(cr, uid, context)</field>
|
|
|
|
<field name="state">code</field>
|
|
|
|
<field name="type">ir.actions.server</field>
|
|
|
|
</record>
|
|
|
|
|
2012-10-15 14:17:31 +00:00
|
|
|
<!-- MENU -->
|
2011-02-01 11:43:08 +00:00
|
|
|
|
2012-07-18 10:34:29 +00:00
|
|
|
<!-- Top menu item -->
|
2012-11-12 23:09:36 +00:00
|
|
|
<menuitem name="Messaging"
|
2012-10-15 14:17:31 +00:00
|
|
|
id="mail.mail_feeds_main"
|
2012-07-18 10:34:29 +00:00
|
|
|
groups="base.group_user"
|
|
|
|
sequence="10"/>
|
2012-02-08 16:42:29 +00:00
|
|
|
|
2012-08-22 14:43:29 +00:00
|
|
|
<!-- Left-side menu: Feeds -->
|
2012-11-12 23:09:36 +00:00
|
|
|
<menuitem id="mail.mail_feeds" name="Messaging" parent="mail.mail_feeds_main" groups="base.group_user" sequence="10"/>
|
2012-09-19 09:36:02 +00:00
|
|
|
<menuitem id="mail_my_stuff" name="Organizer" parent="mail.mail_feeds_main"/>
|
2012-07-02 21:56:04 +00:00
|
|
|
|
2012-09-27 13:48:23 +00:00
|
|
|
<record id="mail_inboxfeeds" model="ir.ui.menu">
|
|
|
|
<field name="name">Inbox</field>
|
2012-02-09 10:04:47 +00:00
|
|
|
<field name="sequence" eval="10"/>
|
2012-09-27 13:48:23 +00:00
|
|
|
<field name="action" ref="action_mail_inbox_feeds"/>
|
2012-10-15 14:17:31 +00:00
|
|
|
<field name="parent_id" ref="mail.mail_feeds"/>
|
2012-02-09 10:04:47 +00:00
|
|
|
</record>
|
2012-10-11 16:16:14 +00:00
|
|
|
<record id="mail_tomefeeds" model="ir.ui.menu">
|
|
|
|
<field name="name">To: me</field>
|
|
|
|
<field name="sequence" eval="11"/>
|
|
|
|
<field name="action" ref="action_mail_to_me_feeds"/>
|
2012-10-15 14:17:31 +00:00
|
|
|
<field name="parent_id" ref="mail.mail_feeds"/>
|
2012-10-11 16:16:14 +00:00
|
|
|
</record>
|
2012-10-12 15:25:05 +00:00
|
|
|
<record id="mail_starfeeds" model="ir.ui.menu">
|
2012-12-19 06:18:54 +00:00
|
|
|
<field name="name">To-do</field>
|
2012-10-12 15:25:05 +00:00
|
|
|
<field name="sequence" eval="14"/>
|
|
|
|
<field name="action" ref="action_mail_star_feeds"/>
|
2012-10-15 14:17:31 +00:00
|
|
|
<field name="parent_id" ref="mail.mail_feeds"/>
|
2012-10-12 15:25:05 +00:00
|
|
|
</record>
|
2012-09-27 13:48:23 +00:00
|
|
|
<record id="mail_archivesfeeds" model="ir.ui.menu">
|
2012-11-08 12:31:41 +00:00
|
|
|
<field name="name">Archives</field>
|
2012-10-12 15:25:05 +00:00
|
|
|
<field name="sequence" eval="16"/>
|
2012-09-27 13:48:23 +00:00
|
|
|
<field name="action" ref="action_mail_archives_feeds"/>
|
2012-10-15 14:17:31 +00:00
|
|
|
<field name="parent_id" ref="mail.mail_feeds"/>
|
2012-09-27 13:48:23 +00:00
|
|
|
</record>
|
2011-02-01 11:43:08 +00:00
|
|
|
</data>
|
2011-03-31 05:09:07 +00:00
|
|
|
</openerp>
|