2012-07-06 12:29:59 +00:00
<?xml version="1.0"?>
<openerp >
<data >
2014-01-15 09:38:05 +00:00
<!-- Calendar Events Types Form View -->
2012-07-06 12:29:59 +00:00
2014-01-15 09:38:05 +00:00
<record id= "view_calendar_event_type_tree" model= "ir.ui.view" >
2012-07-06 12:29:59 +00:00
<field name= "name" > Meeting Types Tree</field>
2014-01-15 09:38:05 +00:00
<field name= "model" > calendar.event.type</field>
2012-07-06 12:29:59 +00:00
<field name= "arch" type= "xml" >
2014-04-30 09:36:13 +00:00
<tree string= "Meeting Types" editable= "bottom" >
2012-07-06 12:29:59 +00:00
<field name= "name" />
</tree>
</field>
2013-11-23 11:36:27 +00:00
</record>
2012-07-06 12:29:59 +00:00
2014-01-15 09:38:05 +00:00
<record id= "action_calendar_event_type" model= "ir.actions.act_window" >
2012-07-06 12:29:59 +00:00
<field name= "name" > Meeting Types</field>
2014-01-15 09:38:05 +00:00
<field name= "res_model" > calendar.event.type</field>
2012-07-06 12:29:59 +00:00
<field name= "view_type" > form</field>
2014-01-15 09:38:05 +00:00
<field name= "view_id" ref= "view_calendar_event_type_tree" />
2012-07-06 12:29:59 +00:00
</record>
2013-11-15 16:59:05 +00:00
2014-01-15 09:38:05 +00:00
<!-- Calendar Events Form View -->
2012-07-06 12:29:59 +00:00
2014-01-15 09:38:05 +00:00
<record model= "ir.ui.view" id= "view_calendar_event_form" >
<field name= "name" > Calendar - Event Form</field>
<field name= "model" > calendar.event</field>
2013-12-02 14:31:33 +00:00
<field name= "priority" eval= "1" />
2012-07-06 12:29:59 +00:00
<field name= "arch" type= "xml" >
<form string= "Meetings" version= "7.0" >
<sheet >
2013-11-23 11:36:27 +00:00
<field name= "state" invisible= "1" />
2013-07-22 13:05:16 +00:00
<field name= "is_attendee" invisible= "1" />
2013-07-23 12:50:34 +00:00
<field name= "attendee_status" invisible= "1" />
2012-07-06 12:29:59 +00:00
<div class= "oe_title" >
<div class= "oe_edit_only" >
2012-10-04 14:38:41 +00:00
<label for= "name" />
2012-07-06 12:29:59 +00:00
</div>
<h1 >
<field name= "name" />
</h1>
2012-07-14 15:33:50 +00:00
<label for= "partner_ids" class= "oe_edit_only" />
2012-07-06 12:29:59 +00:00
<h2 >
2013-10-21 13:46:06 +00:00
<field name= "partner_ids" widget= "many2manyattendee"
2012-09-26 20:51:05 +00:00
context="{'force_email':True}"
2013-11-15 16:59:05 +00:00
on_change="onchange_partner_ids(partner_ids)"
class="oe_inline"/>
2012-07-06 12:29:59 +00:00
</h2>
</div>
2012-07-14 15:33:50 +00:00
<notebook >
2013-11-08 16:05:49 +00:00
<page string= "Meeting Details" >
2014-02-18 17:15:08 +00:00
<group attrs= "{'invisible': [('recurrency','==',False)]}" class= "oe_edit_only " >
<p class= 'alert alert-warning' > This event is linked to a recurrence...<br />
<button type= "object" name= "open_after_detach_event" string= "Update only this instance" help= "Click here to update only this instance and not all recurrences. " class= "oe_link" />
</p>
</group>
2012-07-14 15:33:50 +00:00
<group >
2012-10-04 14:40:15 +00:00
<group >
2014-05-05 15:42:46 +00:00
<field name= "start" attrs= "{'invisible': True}" />
<field name= "stop" attrs= "{'invisible': True}" />
2014-04-30 09:36:13 +00:00
2014-05-05 15:42:46 +00:00
<field name= "start_date" string= "Starting at" on_change= "onchange_dates('start', start_date, stop_date, allday, True)" attrs= "{'invisible': [('allday','=',False)]}" />
<field name= "stop_date" string= "Ending at" on_change= "onchange_dates('stop', start_date, stop_date, allday, True)" attrs= "{'invisible': [('allday','=',False)]}" />
2014-04-30 09:36:13 +00:00
2014-05-05 15:42:46 +00:00
<field name= "start_datetime" string= "Starting at" on_change= "onchange_dates('start', start_datetime, stop_datetime, allday, False)" attrs= "{'invisible': [('allday','=',True)]}" />
<field name= "stop_datetime" string= "Ending at" on_change= "onchange_dates('stop', start_datetime, stop_datetime, allday, False)" attrs= "{'invisible': [('allday','=',True)]}" />
2014-04-30 09:36:13 +00:00
<label for= "allday" />
2012-10-04 14:40:15 +00:00
<div >
2014-05-05 15:42:46 +00:00
<field name= "allday" class= "oe_inline" on_change= "onchange_allday(start, stop, start_date, stop_date, start_datetime, stop_datetime, allday)" />
2012-10-04 14:40:15 +00:00
</div>
2014-04-30 09:36:13 +00:00
<field name= "duration" widget= "float_time" class= "oe_inline" attrs= "{ 'invisible': True }" />
2013-11-08 16:05:49 +00:00
</group>
<group >
2014-04-30 09:36:13 +00:00
<field name= "categ_ids" widget= "many2many_tags" />
2013-11-23 11:36:27 +00:00
<field name= "alarm_ids" widget= "many2many_tags" />
2014-04-30 09:36:13 +00:00
<field name= "location" />
2012-10-04 14:40:15 +00:00
</group>
2014-01-14 15:51:52 +00:00
2012-07-14 15:33:50 +00:00
</group>
2013-11-08 16:05:49 +00:00
<label for= "description" />
<field name= "description" />
</page>
<page string= "Options" >
2012-07-14 15:33:50 +00:00
<group >
2013-11-08 16:05:49 +00:00
<group col= "1" >
2012-07-06 12:29:59 +00:00
<group >
2013-11-08 16:05:49 +00:00
<field name= "recurrency" />
2012-07-06 12:29:59 +00:00
</group>
2013-11-08 16:05:49 +00:00
<group attrs= "{'invisible': [('recurrency','=',False)]}" >
<label for= "interval" />
<div >
<field name= "interval" attrs= "{'required': [('recurrency','==',True)]}" class= "oe_inline" />
<field name= "rrule_type" attrs= "{'required': [('recurrency','==',True)]}" class= "oe_inline" />
</div>
<label string= "Until" for= "end_type" />
<div >
<field name= "end_type" attrs= "{'required': [('recurrency','==',True)]}" class= "oe_inline" />
<field name= "count" attrs= "{'invisible': [('end_type', '!=', 'count')], 'required': [('recurrency','==',True)]}" class= "oe_inline" />
2014-05-05 15:42:46 +00:00
<field name= "final_date" attrs= "{'invisible': [('end_type', '!=', 'end_date')], 'required': [('end_type', '=', 'end_date')]}" class= "oe_inline" />
2013-11-08 16:05:49 +00:00
</div>
<label string= "Select Weekdays" attrs= "{'invisible' :[('rrule_type','not in', ['weekly'])]}" />
2014-01-14 15:51:52 +00:00
<group col= "2" colspan= "1" name= "weekdays" attrs= "{'invisible' :[('rrule_type','not in', ['weekly'])]}" >
2014-04-30 09:36:13 +00:00
<field name= "mo" />
<field name= "tu" />
<field name= "we" />
<field name= "th" />
<field name= "fr" />
<field name= "sa" />
<field name= "su" />
2013-11-08 16:05:49 +00:00
</group>
<label string= "Day of Month"
attrs="{'invisible': [('rrule_type','!=','monthly')]}"/>
<div attrs= "{'invisible': [('rrule_type','!=','monthly')]}" >
2013-11-12 08:18:57 +00:00
<field name= "month_by" />
2013-11-08 16:05:49 +00:00
<field name= "day"
2013-11-12 08:18:57 +00:00
attrs="{'required': [('month_by','=','date'), ('rrule_type','=','monthly')],
'invisible': [('month_by','=','day')]}"/>
2013-11-08 16:05:49 +00:00
<field name= "byday" string= "The"
2013-11-12 08:18:57 +00:00
attrs="{'required': [('month_by','=','day'), ('rrule_type','=','monthly')], 'invisible': [('month_by','=','date')]}"/>
2013-11-08 16:05:49 +00:00
<field name= "week_list" nolabel= "1"
2013-11-12 08:18:57 +00:00
attrs="{'required': [('month_by','=','day'), ('rrule_type','=','monthly')], 'invisible': [('month_by','=','date')]}"/>
2013-11-08 16:05:49 +00:00
</div>
2012-07-06 12:29:59 +00:00
</group>
</group>
2014-02-18 13:31:18 +00:00
<group >
2013-11-08 16:05:49 +00:00
<field name= "class" />
<field name= "show_as" />
2014-02-18 17:15:08 +00:00
<field name= "rrule" invisible= "1" readonly= "0" />
2013-11-08 16:05:49 +00:00
<field name= "recurrent_id" invisible= "1" />
</group>
</group>
</page>
2013-11-23 11:36:27 +00:00
2013-11-08 16:05:49 +00:00
<page string= "Invitations" groups= "base.group_no_one" >
2013-11-24 13:02:41 +00:00
<button name= "do_sendmail" type= "object" string= "Send mail" icon= "terp-mail-message-new" class= "oe_link" />
2013-11-08 16:05:49 +00:00
<field name= "attendee_ids" widget= "one2many" >
2013-11-23 11:36:27 +00:00
<tree string= "Invitation details" editable= "top" create= "false" delete= "false" >
2013-11-24 13:02:41 +00:00
<field name= "partner_id" />
2013-11-23 11:36:27 +00:00
<field name= "state" />
2014-02-18 13:31:18 +00:00
<field name= "email" widget= "email" />
2013-11-15 16:59:05 +00:00
2013-12-11 13:06:35 +00:00
<button name= "do_tentative" states= "needsAction,declined,accepted" string= "Uncertain" type= "object" icon= "terp-crm" />
<button name= "do_accept" string= "Accept" states= "needsAction,tentative,declined" type= "object" icon= "gtk-apply" />
<button name= "do_decline" string= "Decline" states= "needsAction,tentative,accepted" type= "object" icon= "gtk-cancel" />
2013-11-08 16:05:49 +00:00
</tree>
</field>
</page>
2013-12-16 16:21:47 +00:00
<page string= "Misc" groups= "base.group_no_one" >
<label string= "Owner" />
<field name= "user_id" />
</page>
2012-07-14 15:33:50 +00:00
2012-07-06 12:29:59 +00:00
</notebook>
</sheet>
2013-06-27 10:42:06 +00:00
<div class= "oe_chatter" >
<field name= "message_follower_ids" widget= "mail_followers" />
2013-07-22 13:05:16 +00:00
<field name= "message_ids" widget= "mail_thread" />
2013-06-27 10:42:06 +00:00
</div>
2012-07-06 12:29:59 +00:00
</form>
</field>
</record>
2013-11-27 17:51:36 +00:00
2014-01-15 09:38:05 +00:00
<record model= "ir.ui.view" id= "view_calendar_event_form_popup" >
2013-11-26 11:45:02 +00:00
<field name= "name" > Meetings Popup</field>
2014-01-15 09:38:05 +00:00
<field name= "model" > calendar.event</field>
2013-12-02 14:31:33 +00:00
<field name= "priority" eval= "2" />
2013-11-26 11:45:02 +00:00
<field name= "arch" type= "xml" >
<form string= "Meetings" version= "7.0" >
<field name= "state" invisible= "1" />
<field name= "is_attendee" invisible= "1" />
<field name= "attendee_status" invisible= "1" />
<label for= "name" />
<field name= "name" />
<group >
<group >
2014-05-05 15:42:46 +00:00
<field name= "start_date" string= "Starting at" attrs= "{'invisible': [('allday','=',False)]}" />
<field name= "start_datetime" string= "Starting at" attrs= "{'invisible': [('allday','=',True)]}" />
2014-04-30 09:36:13 +00:00
2013-11-26 11:45:02 +00:00
<field name= "duration" string= "Duration" widget= "float_time" attrs= "{'invisible': [('allday','=',True)]}" />
<field name= "allday" class= "oe_inline" attrs= "{'invisible': [('allday','=',False)]}" />
2014-02-18 13:31:18 +00:00
<field name= "partner_ids" widget= "many2manyattendee" string= "Attendees" />
2013-11-26 11:45:02 +00:00
</group>
<group >
<field name= "categ_ids" widget= "many2many_tags" />
<field name= "alarm_ids" widget= "many2many_tags" />
<field name= "location" />
</group>
</group>
</form>
</field>
</record>
2012-07-06 12:29:59 +00:00
<!-- CRM Meeting Tree View -->
2014-01-15 09:38:05 +00:00
<record model= "ir.ui.view" id= "view_calendar_event_tree" >
2012-07-06 12:29:59 +00:00
<field name= "name" > CRM - Meetings Tree</field>
2014-01-15 09:38:05 +00:00
<field name= "model" > calendar.event</field>
2012-07-06 12:29:59 +00:00
<field name= "arch" type= "xml" >
2012-08-27 09:28:24 +00:00
<tree string= "Meetings" fonts= "bold:message_unread==True" >
2012-10-05 14:54:13 +00:00
<field name= "name" string= "Subject" />
2014-04-30 09:36:13 +00:00
<field name= "allday" invisible= "True" />
<field name= "display_start" string= "Date" />
2012-07-06 12:29:59 +00:00
<field name= "user_id" />
2013-11-23 11:36:27 +00:00
<field name= "location" />
<field name= "show_as" />
<field name= "class" string= "Privacy" />
2012-08-22 09:21:49 +00:00
<field name= "state" invisible= "True" />
2012-10-05 14:54:13 +00:00
<field name= "duration" />
2012-08-16 09:26:16 +00:00
<field name= "message_unread" invisible= "1" />
2012-07-06 12:29:59 +00:00
</tree>
</field>
</record>
<!-- CRM Meeting Calendar -->
2014-01-15 09:38:05 +00:00
<record model= "ir.ui.view" id= "view_calendar_event_calendar" >
2013-11-26 11:45:02 +00:00
<field name= "name" > Meetings Calendar</field>
2014-01-15 09:38:05 +00:00
<field name= "model" > calendar.event</field>
2012-07-06 12:29:59 +00:00
<field name= "priority" eval= "2" />
2014-02-18 13:31:18 +00:00
<field name= "arch" type= "xml" >
2014-05-05 15:42:46 +00:00
<calendar string= "Meetings" date_start= "start" date_stop= "stop" date_delay= "duration" all_day= "allday"
2013-12-16 16:21:47 +00:00
display="[name]" color="color_partner_id" attendee="partner_ids" avatar_model="res.partner"
2014-01-15 09:38:05 +00:00
use_contacts="True" event_open_popup="%(calendar.view_calendar_event_form_popup)s">
2013-11-23 11:36:27 +00:00
2012-07-06 12:29:59 +00:00
<field name= "name" />
2012-07-14 15:33:50 +00:00
<field name= "user_id" />
2013-11-15 16:59:05 +00:00
<field name= "color_partner_id" />
<field name= "partner_ids" />
2012-07-06 12:29:59 +00:00
</calendar>
</field>
</record>
<!-- CRM Meeting Gantt -->
2014-01-15 09:38:05 +00:00
<record id= "view_calendar_event_gantt" model= "ir.ui.view" >
2012-07-06 12:29:59 +00:00
<field name= "name" > CRM - Meetings Gantt</field>
2014-01-15 09:38:05 +00:00
<field name= "model" > calendar.event</field>
2012-07-06 12:29:59 +00:00
<field name= "arch" type= "xml" >
<gantt date_delay= "duration" date_start= "date" string= "Meetings" />
</field>
</record>
<!-- CRM Meeting Search View -->
2014-01-15 09:38:05 +00:00
<record id= "view_calendar_event_search" model= "ir.ui.view" >
2012-07-06 12:29:59 +00:00
<field name= "name" > CRM - Meetings Search</field>
2014-01-15 09:38:05 +00:00
<field name= "model" > calendar.event</field>
2012-07-06 12:29:59 +00:00
<field name= "arch" type= "xml" >
<search string= "Search Meetings" >
2012-07-20 05:57:12 +00:00
<field name= "name" string= "Meeting" filter_domain= "[('name','ilike',self)]" />
2013-02-14 09:33:51 +00:00
<field name= "partner_ids" />
<field name= "categ_ids" />
<field name= "user_id" />
2013-11-13 13:10:15 +00:00
<field name= "show_as" />
<field name= "class" string= "Privacy" />
2014-02-18 13:31:18 +00:00
<filter icon= "terp-go-today" string= "My Events" domain= "[('user_id','=',uid)]" help= "My Events" />
2013-03-05 10:01:45 +00:00
<filter string= "My Meetings" help= "My Meetings" name= "mymeetings" context= '{"mymeetings": 1}' />
2013-02-14 09:33:51 +00:00
<filter string= "Unread Messages" name= "message_unread" domain= "[('message_unread','=',True)]" />
2014-02-18 13:31:18 +00:00
<separator />
2013-11-13 13:10:15 +00:00
<group expand= "0" string= "Group By..." >
<filter string= "Responsible" icon= "terp-personal" domain= "[]" context= "{'group_by':'user_id'}" />
<filter string= "Availability" icon= "terp-camera_test" domain= "[]" context= "{'group_by':'show_as'}" />
2014-04-30 09:36:13 +00:00
<filter string= "Privacy" icon= "terp-locked" domain= "[]" context= "{'group_by':'class'}" />
2013-11-13 13:10:15 +00:00
</group>
2012-07-06 12:29:59 +00:00
</search>
</field>
</record>
2014-01-15 09:38:05 +00:00
<record id= "action_calendar_event" model= "ir.actions.act_window" >
2012-07-06 12:29:59 +00:00
<field name= "name" > Meetings</field>
2014-01-15 09:38:05 +00:00
<field name= "res_model" > calendar.event</field>
2012-07-06 12:29:59 +00:00
<field name= "view_mode" > calendar,tree,form,gantt</field>
2014-01-15 09:38:05 +00:00
<field name= "view_id" ref= "view_calendar_event_calendar" />
2014-02-18 13:31:18 +00:00
<field name= "search_view_id" ref= "view_calendar_event_search" />
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-10-04 14:38:41 +00:00
Click to schedule a new meeting.
2012-08-04 13:21:36 +00:00
</p> <p >
2012-09-26 11:16:08 +00:00
The calendar is shared between employees and fully integrated with
2012-08-04 13:21:36 +00:00
other applications such as the employee holidays or the business
opportunities.
</p>
2012-07-06 12:29:59 +00:00
</field>
</record>
2014-01-15 09:38:05 +00:00
<record model= "ir.actions.act_window.view" id= "action_view_calendar_event_calendar" >
<field name= "act_window_id" ref= "action_calendar_event" />
2012-07-06 12:29:59 +00:00
<field name= "sequence" eval= "1" />
<field name= "view_mode" > calendar</field>
2014-01-15 09:38:05 +00:00
<field name= "view_id" ref= "view_calendar_event_calendar" />
2012-07-06 12:29:59 +00:00
</record>
2014-01-15 09:38:05 +00:00
<record model= "ir.actions.act_window.view" id= "action_view_calendar_event_tree" >
<field name= "act_window_id" ref= "action_calendar_event" />
2012-07-06 12:29:59 +00:00
<field name= "sequence" eval= "2" />
<field name= "view_mode" > tree</field>
2014-01-15 09:38:05 +00:00
<field name= "view_id" ref= "view_calendar_event_tree" />
2012-07-06 12:29:59 +00:00
</record>
2014-01-15 09:38:05 +00:00
<record model= "ir.actions.act_window.view" id= "action_view_calendar_event_form" >
<field name= "act_window_id" ref= "action_calendar_event" />
2012-07-06 12:29:59 +00:00
<field name= "sequence" eval= "3" />
<field name= "view_mode" > form</field>
2014-01-15 09:38:05 +00:00
<field name= "view_id" ref= "view_calendar_event_form" />
2012-07-06 12:29:59 +00:00
</record>
2014-01-15 09:38:05 +00:00
<record model= "ir.actions.act_window.view" id= "action_view_calendar_event_gantt" >
<field name= "act_window_id" ref= "action_calendar_event" />
2012-07-06 12:29:59 +00:00
<field name= "sequence" eval= "4" />
<field name= "view_mode" > gantt</field>
2014-01-15 09:38:05 +00:00
<field name= "view_id" ref= "view_calendar_event_gantt" />
2012-07-06 12:29:59 +00:00
</record>
2014-01-15 09:38:05 +00:00
<menuitem name= "Calendar" id= "mail_menu_calendar" parent= "mail.mail_my_stuff" sequence= "10" action= "action_calendar_event" />
2013-11-23 11:36:27 +00:00
<menuitem id= "menu_calendar_configuration" name= "Calendar" parent= "base.menu_custom" groups= "base.group_no_one" />
2014-01-15 09:38:05 +00:00
<menuitem id= "menu_calendar_event_type" parent= "menu_calendar_configuration" action= "action_calendar_event_type" groups= "base.group_no_one" />
2013-11-23 11:36:27 +00:00
2013-12-20 16:08:18 +00:00
<!-- called in js from '/js/base_calendar.js' -->
2014-01-15 09:38:05 +00:00
<record id= "action_calendar_event_notify" model= "ir.actions.act_window" >
2013-11-23 11:36:27 +00:00
<field name= "name" > Meetings</field>
2014-01-15 09:38:05 +00:00
<field name= "res_model" > calendar.event</field>
2013-11-23 11:36:27 +00:00
<field name= "view_mode" > form,calendar,tree,gantt</field>
2014-02-18 13:31:18 +00:00
<field name= "view_id" ref= "view_calendar_event_form" />
2013-11-23 11:36:27 +00:00
</record>
2013-12-02 14:31:33 +00:00
2013-11-26 11:45:02 +00:00
2012-07-06 12:29:59 +00:00
</data>
</openerp>