1 <?xml version="1.0" encoding="utf-8"?>
4 <record id="view_calendar_event_import" model="ir.ui.view">
5 <field name="name">calendar.event.import.form</field>
6 <field name="model">calendar.event.import</field>
7 <field name="type">form</field>
8 <field name="arch" type="xml">
9 <form string="Import ICS">
11 <separator string="Select ICS file"/>
12 <field name="file_path" colspan="4" width="500" nolabel="1"/>
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="_Import" type="object"/>
23 <record id="view_calendar_event_import_display" model="ir.ui.view">
24 <field name="name">calendar.event.import.form.display</field>
25 <field name="model">calendar.event.import</field>
26 <field name="type">form</field>
27 <field name="arch" type="xml">
28 <form string="Import Message">
30 <field name="msg" colspan="4" width="300" nolabel="1"/>
32 <separator string="" colspan="4" />
34 <button icon="gtk-ok" special="cancel" string="Ok"/>
40 <act_window id="action_calendar_event_import_values"
41 key2="client_action_multi" name="Import .ics File"
42 res_model="calendar.event.import" src_model="basic.calendar"
43 view_id="view_calendar_event_import"
44 view_mode="form" target="new" view_type="form" />