2010-01-21 12:58:40 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
2010-02-11 12:37:41 +00:00
|
|
|
<data>
|
2010-05-25 10:38:59 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Attendee form view-->
|
2010-03-25 12:07:00 +00:00
|
|
|
|
2010-02-11 12:37:41 +00:00
|
|
|
<record id="base_calendar_attendee_form_view" model="ir.ui.view">
|
|
|
|
<field name="name">calendar.attendee.form</field>
|
|
|
|
<field name="model">calendar.attendee</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-03-24 15:57:18 +00:00
|
|
|
<form string="Invitation details">
|
2010-06-11 11:29:06 +00:00
|
|
|
<group col="6" colspan="4">
|
|
|
|
<field name="email" string="Invitation To"/>
|
|
|
|
<field name="cutype" string="Invitation type" />
|
2010-05-13 11:37:59 +00:00
|
|
|
<field name="rsvp" />
|
|
|
|
<field name="role" string="Role" />
|
2010-06-11 11:29:06 +00:00
|
|
|
<field name="sent_by_uid" string="Invitation From" />
|
2010-05-13 11:37:59 +00:00
|
|
|
</group>
|
2010-03-24 15:57:18 +00:00
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Invitation">
|
2010-02-11 12:37:41 +00:00
|
|
|
<separator string="Invitation Detail" colspan="4" />
|
|
|
|
<group colspan="4" col="4">
|
|
|
|
<field name="user_id" string="Invited User"/>
|
|
|
|
<newline/>
|
2010-03-18 11:30:31 +00:00
|
|
|
<field name="partner_address_id"
|
2010-05-25 10:38:59 +00:00
|
|
|
string="Contact" />
|
2010-03-18 11:30:31 +00:00
|
|
|
<field name="partner_id"
|
2010-03-24 15:57:18 +00:00
|
|
|
string="Partner" readonly="1" />
|
2010-02-11 12:37:41 +00:00
|
|
|
</group>
|
|
|
|
<separator string="Event Detail" colspan="4" />
|
|
|
|
<group colspan="4" col="4">
|
|
|
|
<field name="event_date" />
|
|
|
|
<field name="event_end_date" />
|
|
|
|
<field name="language"/>
|
2010-03-16 09:59:44 +00:00
|
|
|
<field name="ref" colspan="4" readonly="1"/>
|
2010-02-11 12:37:41 +00:00
|
|
|
</group>
|
2010-03-24 15:57:18 +00:00
|
|
|
</page>
|
|
|
|
<page string="Delegation Info">
|
|
|
|
<separator string="Delegated From" colspan="4" />
|
|
|
|
<field name="parent_ids" nolabel="1"
|
|
|
|
colspan="4" readonly="1" />
|
|
|
|
<separator string="Delegated To" colspan="4" />
|
|
|
|
<field name="child_ids" nolabel="1"
|
|
|
|
colspan="4" readonly="1" />
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
<group col="6" colspan="4">
|
|
|
|
<field name="state" />
|
|
|
|
<button name="do_tentative"
|
|
|
|
states="needs-action,declined,accepted"
|
|
|
|
string="Uncertain" type="object"
|
|
|
|
icon="terp-crm" />
|
|
|
|
<button name="do_accept" string="Accept"
|
|
|
|
states="needs-action,tentative,declined"
|
|
|
|
type="object" icon="gtk-apply" />
|
|
|
|
<button name="do_decline" string="Decline"
|
|
|
|
states="needs-action,tentative,accepted"
|
|
|
|
type="object" icon="gtk-cancel" />
|
|
|
|
<button
|
|
|
|
name="%(base_calendar.action_view_calendar_invite_attendee_wizard)d"
|
|
|
|
string="Delegate" type="action"
|
|
|
|
icon="gtk-sort-descending"
|
|
|
|
states="needs-action,tentative,declined,accepted"
|
|
|
|
context="{'model' : 'calendar.attendee', 'attendee_field' : 'child_ids'}" />
|
|
|
|
</group>
|
|
|
|
</form>
|
2010-02-11 12:37:41 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2010-05-25 10:38:59 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Attendee tree view-->
|
2010-02-11 12:37:41 +00:00
|
|
|
|
2010-03-24 15:57:18 +00:00
|
|
|
<record id="base_calendar_attendee_tree_view" model="ir.ui.view">
|
2010-02-11 12:37:41 +00:00
|
|
|
<field name="name">calendar.attendee.tree</field>
|
|
|
|
<field name="model">calendar.attendee</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-03-24 15:57:18 +00:00
|
|
|
<tree string="Invitation details">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="email" string="Invitation To"/>
|
2010-04-20 12:52:35 +00:00
|
|
|
<field name="user_id" string="Internal User" />
|
2010-02-11 12:37:41 +00:00
|
|
|
<field name="partner_address_id" string="Contact" />
|
2010-03-24 15:57:18 +00:00
|
|
|
<field name="role" />
|
|
|
|
<field name="state" />
|
2010-05-14 10:14:26 +00:00
|
|
|
<field name="cutype" invisible="1"/>
|
|
|
|
<field name="rsvp" invisible="1"/>
|
2010-03-24 15:57:18 +00:00
|
|
|
</tree>
|
2010-02-11 12:37:41 +00:00
|
|
|
</field>
|
2010-03-24 15:57:18 +00:00
|
|
|
</record>
|
2010-05-25 10:38:59 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Attendee search view-->
|
2010-05-25 10:38:59 +00:00
|
|
|
|
2010-03-24 15:57:18 +00:00
|
|
|
<record id="base_calendar_attendee_search_view" model="ir.ui.view">
|
2010-03-23 12:26:31 +00:00
|
|
|
<field name="name">calendar.attendee.search</field>
|
|
|
|
<field name="model">calendar.attendee</field>
|
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-03-24 15:57:18 +00:00
|
|
|
<search string="Search Invitations">
|
2010-06-07 12:35:16 +00:00
|
|
|
<filter icon="terp-check" string="Accepted"
|
2010-03-23 12:26:31 +00:00
|
|
|
domain="[('state','=', 'accepted')]"
|
|
|
|
separator="1" help="Accepted Invitations" />
|
2010-06-07 12:35:16 +00:00
|
|
|
<filter icon="terp-dialog-close" string="Declined"
|
2010-03-23 12:26:31 +00:00
|
|
|
domain="[('state','=', 'declined')]"
|
|
|
|
separator="1" help="Declined Invitations" />
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="email" select='1'/>
|
2010-06-12 17:49:33 +00:00
|
|
|
<field name="sent_by_uid" select="1"/>
|
2010-03-23 12:26:31 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="cutype" string="Invitation type" select="1"/>
|
|
|
|
<field name="event_date" select="1"/>
|
2010-05-14 10:14:26 +00:00
|
|
|
<newline/>
|
2010-06-11 11:29:06 +00:00
|
|
|
<group expand="0" string="Group By...">
|
|
|
|
<filter string="Type" icon="terp-stock_symbol-selection" help="Invitation Type"
|
|
|
|
domain="[]" context="{'group_by':'cutype'}" />
|
|
|
|
<filter string="Role" icon="terp-gtk-select-all"
|
|
|
|
domain="[]" context="{'group_by':'role'}" />
|
|
|
|
<filter string="Required Reply" icon="terp-mail-replied"
|
|
|
|
domain="[]" context="{'group_by':'rsvp'}" />
|
|
|
|
<separator orientation="vertical" />
|
|
|
|
<filter string="User" icon="terp-personal" domain="[]"
|
|
|
|
context="{'group_by':'user_id'}" />
|
|
|
|
<filter string="Contact" icon="terp-gtk-jump-to-ltr" domain="[]"
|
|
|
|
context="{'group_by':'partner_address_id'}" />
|
|
|
|
<filter string="State" icon="terp-stock_effects-object-colorize" help="Invitation Type"
|
2010-06-24 12:55:03 +00:00
|
|
|
domain="[]" context="{'group_by':'state'}" />
|
2010-06-11 11:29:06 +00:00
|
|
|
</group>
|
2010-03-23 12:26:31 +00:00
|
|
|
</search>
|
|
|
|
</field>
|
2010-03-24 15:57:18 +00:00
|
|
|
</record>
|
2010-06-11 11:29:06 +00:00
|
|
|
<record id="action_view_attendee_form" model="ir.actions.act_window">
|
|
|
|
<field name="name">Event Invitations</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">calendar.attendee</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="view_id" ref="base_calendar.base_calendar_attendee_tree_view" />
|
|
|
|
<field name="context">{'default_sent_by_uid': uid}</field>
|
|
|
|
</record>
|
2010-05-24 06:26:13 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Calenadar's menu -->
|
2010-05-27 09:26:52 +00:00
|
|
|
<menuitem id="base.menu_calendar_configuration" name="Calendar"
|
2010-06-24 12:55:03 +00:00
|
|
|
parent="base.menu_base_config" sequence="15" />
|
2010-05-24 06:26:13 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Invitation menu -->
|
2010-05-25 10:38:59 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<menuitem id="menu_attendee_invitations"
|
2010-05-27 09:26:52 +00:00
|
|
|
name="Event Invitations" parent="base.menu_calendar_configuration"
|
|
|
|
sequence="10" action="action_view_attendee_form" />
|
2010-04-20 12:52:35 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- ALARM FORM VIEW-->
|
2010-03-24 15:57:18 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<record id="res_alarm_form_view" model="ir.ui.view">
|
2010-02-11 12:37:41 +00:00
|
|
|
<field name="name">res.alarm.form</field>
|
|
|
|
<field name="model">res.alarm</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-03-24 15:57:18 +00:00
|
|
|
<form string="Reminder details">
|
2010-02-11 12:37:41 +00:00
|
|
|
<field name="name" />
|
|
|
|
<field name="active" />
|
|
|
|
<separator string="Reminder Details" colspan="4" />
|
|
|
|
<field name="trigger_duration" select="1" />
|
|
|
|
<field name="trigger_interval" select="1" />
|
|
|
|
<field name="trigger_occurs" select="1" />
|
|
|
|
<field name="trigger_related" select="1" />
|
2010-03-24 15:57:18 +00:00
|
|
|
</form>
|
2010-02-11 12:37:41 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2010-01-22 07:33:05 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- ALARM TREE VIEW-->
|
2010-04-19 13:47:20 +00:00
|
|
|
|
|
|
|
<record id="res_alarm_tree_view" model="ir.ui.view">
|
|
|
|
<field name="name">res.alarm.tree</field>
|
|
|
|
<field name="model">res.alarm</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Reminder details">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="trigger_interval" select="1"/>
|
|
|
|
<field name="trigger_duration" select="1"/>
|
|
|
|
<field name="trigger_occurs" select="1"/>
|
|
|
|
<field name="trigger_related" select="1"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record id="action_res_alarm_view" model="ir.actions.act_window">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="name">Available Alarms</field>
|
2010-03-24 15:57:18 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">res.alarm</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2010-04-19 13:47:20 +00:00
|
|
|
</record>
|
2010-05-25 10:38:59 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Menu for Alarms-->
|
2010-03-24 15:57:18 +00:00
|
|
|
|
2010-05-27 09:26:52 +00:00
|
|
|
<menuitem id="menu_crm_meeting_avail_alarm"
|
2010-04-16 09:16:25 +00:00
|
|
|
groups="base.group_extended"
|
2010-03-24 15:57:18 +00:00
|
|
|
action="base_calendar.action_res_alarm_view"
|
|
|
|
parent="base.menu_calendar_configuration" />
|
2010-06-11 11:29:06 +00:00
|
|
|
|
2010-05-24 06:26:13 +00:00
|
|
|
<!-- Event Form View-->
|
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<record model="ir.ui.view" id="event_form_view">
|
|
|
|
<field name="name">Event Form</field>
|
|
|
|
<field name="model">calendar.event</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Events">
|
|
|
|
<group col="6" colspan="4">
|
|
|
|
<field name="name" select="1" string="Summary"
|
|
|
|
colspan="4" />
|
|
|
|
<field name="allday" colspan="2" on_change="onchange_allday(allday)" />
|
|
|
|
<newline/>
|
|
|
|
<field name="date" string="Start Date" required="1" select="1"
|
|
|
|
on_change="onchange_dates(date,duration,False,allday)" />
|
|
|
|
<field name="duration" widget="float_time"
|
|
|
|
on_change="onchange_dates(date,duration,False,allday)" attrs="{'invisible': [('allday', '=', True)]}"/>
|
|
|
|
<field name="date_deadline" string="End Date" required="1"
|
|
|
|
on_change="onchange_dates(date,False,date_deadline)" />
|
|
|
|
<field name="location" />
|
|
|
|
<field name="alarm_id" string="Reminder"
|
|
|
|
widget="selection" />
|
|
|
|
<group colspan="2" col="4" >
|
|
|
|
<field name="rrule_type" string="Recurrency"
|
|
|
|
colspan="1" attrs="{'readonly':[('recurrent_uid','!=',False)]}"/>
|
|
|
|
<button string="Edit All"
|
|
|
|
help="Edit all Ourrences of recurrent Meeting"
|
|
|
|
attrs="{'invisible':[('rrule_type','in', ('none', False))]}"
|
|
|
|
name="open_event" icon="gtk-edit"
|
|
|
|
type="object" />
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
<group col="4" colspan="4" name="rrule" attrs="{'invisible': [('rrule_type','!=','custom')]}">
|
|
|
|
<separator string="Select data for Custom Rule" colspan="8"/>
|
|
|
|
<group col="8" colspan="4">
|
|
|
|
<field name="freq" />
|
|
|
|
<field name="interval" />
|
|
|
|
<field name="count" />
|
|
|
|
<field name="end_date" />
|
|
|
|
</group>
|
|
|
|
<group col="14" colspan="4" name="Select weekdays"
|
|
|
|
attrs="{'invisible' : [('freq','!=','weekly')]}">
|
|
|
|
<field name="mo" colspan="1" />
|
|
|
|
<field name="tu" colspan="1" />
|
|
|
|
<field name="we" colspan="1" />
|
|
|
|
<field name="th" colspan="1" />
|
|
|
|
<field name="fr" colspan="1" />
|
|
|
|
<field name="sa" colspan="1" />
|
|
|
|
<field name="su" colspan="1" />
|
|
|
|
<newline />
|
|
|
|
</group>
|
|
|
|
<group col="10" colspan="4"
|
|
|
|
attrs="{'invisible' : [('freq','!=','monthly'), ('freq','!=','yearly')]}">
|
|
|
|
<group col="2" colspan="1">
|
|
|
|
<field name="select1" />
|
|
|
|
</group>
|
|
|
|
<group col="2" colspan="1"
|
|
|
|
attrs="{'invisible' : [('select1','=','day')]}">
|
|
|
|
<field name="day"
|
|
|
|
attrs="{'required' : [('select1','=','date')]}" />
|
|
|
|
</group>
|
|
|
|
<group col="3" colspan="1"
|
|
|
|
attrs="{'invisible' : [('select1','=','date')]}">
|
|
|
|
<field name="byday" string="The"
|
|
|
|
attrs="{'required' : [('select1','=','day')]}" />
|
|
|
|
<field name="week_list" nolabel="1"
|
|
|
|
attrs="{'required' : [('select1','=','day')]}" />
|
|
|
|
</group>
|
|
|
|
<group col="1" colspan="1"
|
|
|
|
attrs="{'invisible' : [('freq','!=','yearly')]}">
|
|
|
|
<field name="month_list" string="of"
|
|
|
|
colspan="1"
|
|
|
|
attrs="{'required' : [('freq','=','yearly')]}" />
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Event">
|
|
|
|
<group col="6" colspan="4">
|
|
|
|
<separator colspan="6" string="Visibility"/>
|
|
|
|
<field name="user_id" string="Responsible User" />
|
|
|
|
<field name="show_as" string="Show time as"/>
|
|
|
|
<field name="class" string="Privacy"/>
|
|
|
|
<field name="recurrent_id" invisible="1" />
|
|
|
|
<field name="recurrent_uid" invisible="1" />
|
|
|
|
</group>
|
|
|
|
<separator string="Description" colspan="4" />
|
|
|
|
<field name="description" nolabel="1" colspan="4" />
|
|
|
|
<separator colspan="4"/>
|
|
|
|
</page>
|
|
|
|
<page string="Invitation Detail">
|
|
|
|
<button string="Invite People"
|
|
|
|
name="%(base_calendar.action_view_calendar_invite_attendee_wizard)d"
|
|
|
|
icon="terp-partner" type="action"
|
|
|
|
context="{'model' : 'calendar.event', 'attendee_field':'attendee_ids'}" colspan="2"/>
|
|
|
|
<field name="attendee_ids" colspan="4"
|
|
|
|
nolabel="1" widget="one2many" mode="tree,form">
|
|
|
|
<tree string="Invitation details" editable="top">
|
|
|
|
<field name="email" />
|
|
|
|
<field name="role" width="200" select="1" />
|
|
|
|
<field name="state" />
|
|
|
|
</tree>
|
|
|
|
<form string="Invitation details">
|
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Details">
|
|
|
|
<field name="email" />
|
|
|
|
<field name="rsvp" select="1" />
|
|
|
|
<field name="cutype" select="1" />
|
|
|
|
<field name="role" select="1" />
|
|
|
|
<separator colspan="4" string="" />
|
|
|
|
<group col="6" colspan="4">
|
|
|
|
<field name="state" select="2" />
|
|
|
|
<button name="do_tentative"
|
|
|
|
states="needs-action,declined,accepted"
|
|
|
|
string="Uncertain"
|
|
|
|
type="object"
|
|
|
|
icon="terp-crm" />
|
|
|
|
<button name="do_accept"
|
|
|
|
string="Accept"
|
|
|
|
states="needs-action,tentative,declined"
|
|
|
|
type="object"
|
|
|
|
icon="gtk-apply" />
|
|
|
|
<button name="do_decline"
|
|
|
|
string="Decline"
|
|
|
|
states="needs-action,tentative,accepted"
|
|
|
|
type="object"
|
|
|
|
icon="gtk-cancel" />
|
|
|
|
<button
|
|
|
|
name="%(base_calendar.action_view_calendar_invite_attendee_wizard)d"
|
|
|
|
string="Delegate"
|
|
|
|
type="action"
|
|
|
|
icon="gtk-sort-descending"
|
|
|
|
states="needs-action,tentative,declined,accepted"
|
|
|
|
context="{'model' : 'calendar.attendee', 'attendee_field' : 'child_ids'}" />
|
|
|
|
</group>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-04-19 13:47:20 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Event Tree View -->
|
2010-04-19 13:47:20 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<record model="ir.ui.view" id="event_tree_view">
|
|
|
|
<field name="name">Event Tree</field>
|
|
|
|
<field name="model">calendar.event</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Events">
|
|
|
|
<field name="name" string="Subject" />
|
|
|
|
<field name="date" string="Meeting Date" />
|
|
|
|
<field name="location" />
|
|
|
|
<field name="show_as" />
|
|
|
|
<field name="class" string="Privacy" />
|
|
|
|
<field name="user_id" invisible="1"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-05-24 06:26:13 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Event Calendar View -->
|
2010-04-19 13:47:20 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<record model="ir.ui.view" id="event_calendar_view">
|
|
|
|
<field name="name">Events Calendar</field>
|
|
|
|
<field name="model">calendar.event</field>
|
|
|
|
<field name="type">calendar</field>
|
|
|
|
<field name="priority" eval="2"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<calendar string="Events" date_start="date" color="show_as" date_delay="duration">
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="class"/>
|
|
|
|
<field name="show_as"/>
|
|
|
|
</calendar>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-05-24 06:26:13 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Event Search View-->
|
2010-05-24 06:26:13 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<record id="view_calendar_event_filter" model="ir.ui.view">
|
|
|
|
<field name="name">Calendar Events Search</field>
|
|
|
|
<field name="model">calendar.event</field>
|
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-05-13 11:37:59 +00:00
|
|
|
<search string="Search Events">
|
|
|
|
<group col="12" colspan="4">
|
2010-06-07 12:35:16 +00:00
|
|
|
<filter icon="terp-go-today" string="My Events"
|
2010-05-13 11:37:59 +00:00
|
|
|
domain="[('user_id','=',uid)]"
|
|
|
|
help="My Events" />
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="name" select="1" string="Summary"/>
|
|
|
|
<field name="location" select="1" string="Location"/>
|
|
|
|
<separator orientation="vertical"/>
|
2010-06-12 17:49:33 +00:00
|
|
|
<field name="user_id" select="1"/>
|
2010-05-13 11:37:59 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="show_as" select="1"/>
|
|
|
|
<field name="class" select="1"/>
|
|
|
|
</group>
|
|
|
|
<newline/>
|
2010-06-11 11:29:06 +00:00
|
|
|
<group expand="0" string="Group By...">
|
|
|
|
<filter string="Date" icon="terp-go-month"
|
|
|
|
domain="[]" context="{'group_by':'date'}" />
|
|
|
|
<filter string="Availability" icon="terp-camera_test"
|
|
|
|
domain="[]" context="{'group_by':'show_as'}" />
|
|
|
|
<filter string="Privacy" icon="terp-locked"
|
|
|
|
domain="[]" context="{'group_by':'class'}" />
|
|
|
|
<separator orientation="vertical" />
|
|
|
|
<filter string="Responsible" icon="terp-personal" domain="[]"
|
|
|
|
context="{'group_by':'user_id'}" />
|
|
|
|
</group>
|
2010-05-13 11:37:59 +00:00
|
|
|
</search>
|
|
|
|
</field>
|
2010-06-11 11:29:06 +00:00
|
|
|
</record>
|
2010-05-13 11:37:59 +00:00
|
|
|
|
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Event action -->
|
2010-05-24 06:26:13 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<record id="action_view_event" model="ir.actions.act_window">
|
|
|
|
<field name="name">Events</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">calendar.event</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form,calendar</field>
|
|
|
|
<field name="search_view_id" ref="view_calendar_event_filter"/>
|
|
|
|
</record>
|
2010-05-24 06:26:13 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<!-- Event menu -->
|
2010-05-14 12:05:27 +00:00
|
|
|
|
2010-06-11 11:29:06 +00:00
|
|
|
<menuitem id="menu_events"
|
2010-05-27 09:26:52 +00:00
|
|
|
name="Events" parent="base.menu_calendar_configuration"
|
|
|
|
sequence="5" action="action_view_event" />
|
2010-05-24 06:26:13 +00:00
|
|
|
|
2010-04-19 13:47:20 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|