summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKersten Jeremy <jke@openerp.com>2014-03-13 12:00:02 +0100
committerKersten Jeremy <jke@openerp.com>2014-03-13 12:00:02 +0100
commitb92001f1d8759d6695ab2e2b19d8a41d2e859b6c (patch)
treeed1aa35a348f3815bbc56e0e386b348a87b2861e
parentb1cd54f5e9854645137b50d6ca9969431a0f9cfa (diff)
[IMP] Calendar - Add redirect to calendar module after the install of it
bzr revid: jke@openerp.com-20140313110002-m645txvytcrb40lr
-rw-r--r--addons/calendar/calendar_data.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/addons/calendar/calendar_data.xml b/addons/calendar/calendar_data.xml
index 4435e8a4324..ff93a29a634 100644
--- a/addons/calendar/calendar_data.xml
+++ b/addons/calendar/calendar_data.xml
@@ -2,6 +2,17 @@
<openerp>
<data noupdate="1">
+ <!-- After installation of the module, open the related menu -->
+ <record id="action_client_calendar_menu" model="ir.actions.client">
+ <field name="name">Open Calendar</field>
+ <field name="tag">reload</field>
+ <field name="params" eval="{'menu_id': ref('calendar.mail_menu_calendar')}"/>
+ </record>
+ <record id="base.open_menu" model="ir.actions.todo">
+ <field name="action_id" ref="action_client_calendar_menu"/>
+ <field name="state">open</field>
+ </record>
+
<!-- Expense-related subtypes for messaging / Chatter -->
<record id="calendar.subtype_invitation" model="mail.message.subtype">
<field name="name">Invitation</field>
@@ -401,7 +412,7 @@
</div>
<div style="height: 50px;text-align: left;font-size : 14px;border-collapse: separate;margin-top:10px">
<strong style="margin-left:12px">Dear ${object.cn}</strong> ,<br/>
- <p style="margin-left:12px">this it a reminder for the event below : </p>
+ <p style="margin-left:12px">That is a reminder for the event below : </p>
</div>
<div style="height: auto;margin-left:12px;margin-top:30px;">
<table>