|
|
@ -0,0 +1,32 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<openerp> |
|
|
|
<data> |
|
|
|
<template id="assets_backend" name="assets" inherit_id="web.assets_backend"> |
|
|
|
<xpath expr="." position="inside"> |
|
|
|
<link rel="stylesheet" href="/mail_wall_menu/static/src/css/mail_wall_menu.css"/> |
|
|
|
<script type="text/javascript" src="/mail_wall_menu/static/src/js/mail_wall_menu.js"></script> |
|
|
|
</xpath> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<record id="action_dashboard" model="ir.actions.client"> |
|
|
|
<field name="name">Dashboard</field> |
|
|
|
<field name="tag">mail.wall</field> |
|
|
|
<field name="context">{ |
|
|
|
'default_model': 'res.users', |
|
|
|
'default_res_id': uid, |
|
|
|
'thread_model': 'res.partner', |
|
|
|
'needaction_menu_ref': ['mail.mail_tomefeeds', 'mail.mail_starfeeds'] |
|
|
|
}</field> |
|
|
|
<field name="params" eval=""{ |
|
|
|
'disable_thread': True |
|
|
|
}""/> |
|
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<menuitem id="mail_wall_menu.menu_folder" name="Dashboard" parent="mail.mail_feeds_main" groups="base.group_user" sequence="5"/> |
|
|
|
<menuitem id="mail_wall_menu.menu_dashboard" name="Dashboard" parent="mail_wall_menu.menu_folder" groups="base.group_user" sequence="10" action="action_dashboard"/> |
|
|
|
|
|
|
|
</data> |
|
|
|
</openerp> |