[ADD]: Images: caldav, crm_caldav, document_webdav, project_caldav
[odoo/odoo.git] / addons / caldav / wizard / calendar_event_subscribe_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record id="view_calendar_event_subscribe" model="ir.ui.view">
5             <field name="name">calendar.event.subscribe.form</field>
6             <field name="model">calendar.event.subscribe</field>
7             <field name="type">form</field>
8             <field name="arch" type="xml">
9                 <form string="Subscribe to Remote Calendar">
10                     <group colspan="4" >
11                          <separator string="Provide path for Remote Calendar"/>
12                           <field name="url_path" colspan="4" width="300" nolabel="1" widget="url"/>
13                     </group>
14                         <separator string="" colspan="4" />
15                     <group colspan="4" col="6">
16                         <button  icon="gtk-cancel" special="cancel" string="_Cancel"/>
17                         <button  icon="gtk-ok"  name="process_imp_ics"  string="_Subscribe" type="object"/>
18                    </group>
19                </form>
20             </field>
21         </record>
22         
23         <record id="view_calendar_event_subscribe_display" model="ir.ui.view">
24             <field name="name">calendar.event.subscribe.form.display</field>
25             <field name="model">calendar.event.subscribe</field>
26             <field name="type">form</field>
27             <field name="arch" type="xml">
28                 <form string="Message...">
29                     <group colspan="4" >
30                           <field name="msg" colspan="4" width="300" nolabel="1"/>
31                     </group>
32                         <separator string="" colspan="4" />
33                     <group colspan="4">
34                         <button  icon="gtk-ok" special="cancel" string="Ok"/>
35                    </group>
36                </form>
37             </field>
38         </record>
39         
40         <record id="action_calendar_event_subscribe" model="ir.actions.act_window">
41             <field name="name">Subscribe</field>
42             <field name="res_model">calendar.event.subscribe</field>
43             <field name="view_type">form</field>
44             <field name="view_mode">tree,form</field>
45            <field name="view_id" ref="view_calendar_event_subscribe"/> 
46            <field name="target">new</field>
47         </record>
48         
49         <act_window id="action_calendar_event_subscribe_values"
50             key2="client_action_multi" name="Subscribe"
51             res_model="calendar.event.subscribe" src_model="basic.calendar"
52             view_mode="form" target="new" view_type="form" />
53         
54     </data>
55 </openerp>