<?xml version="1.0"?>
<openerp>
<data noupdate="1">

    <record model="crm.case.section" id="section_meeting">
        <field name="name">Shared Calendar Meetings</field>
        <field name="code">shcal</field>
    </record> 
    
    <record model="document.directory" id="document.dir_calendars">
        <field name="name">Calendars</field>
    </record>    
    
    <record model="document.directory.content" id="dir_content_calendar">
        <field name="name">Calendars</field>
        <field name="suffix">meetings</field>
        <field name="extension">.ics</field>
        <field name="include_name" eval="False"/>
        <field name="directory_id" ref="document.dir_calendars"/>
        <field name="object_id" ref="crm.model_crm_meeting"/>
        <field name="ics_domain" eval="'[]'"/>
    </record>

    <record model="document.directory.ics.fields" id="dir_field1">
        <field name="name">dtstart</field>
        <field name="field_id" ref="crm.field_crm_meeting_create_date"/>
        <field name="content_id" ref="dir_content_calendar"/>
    </record>
    <record model="document.directory.ics.fields" id="dir_field6">
        <field name="name">dtend</field>
        <field name="field_id" ref="crm.field_crm_meeting_date_deadline"/>
        <field name="content_id" ref="dir_content_calendar"/>
    </record>
    <record model="document.directory.ics.fields" id="dir_field2">
        <field name="name">summary</field>
        <field name="field_id" ref="crm.field_crm_meeting_name"/>
        <field name="content_id" ref="dir_content_calendar"/>
    </record>
    <record model="document.directory.ics.fields" id="dir_field3">
        <field name="name">uid</field>
        <field name="field_id" ref="field_crm_meeting_code"/>
        <field name="content_id" ref="dir_content_calendar"/>
    </record>
    <record model="document.directory.ics.fields" id="dir_field4">
        <field name="name">description</field>
        <field name="field_id" ref="crm.field_crm_meeting_description"/>
        <field name="content_id" ref="dir_content_calendar"/>
    </record>
    <record model="document.directory.ics.fields" id="dir_field5">
        <field name="name">url</field>
        <field name="field_id" ref="crm.field_crm_meeting_email_from"/>
        <field name="content_id" ref="dir_content_calendar"/>
    </record>

</data>
</openerp>
