62400e22f7185195901caa806fa0995113e40d05
[odoo/odoo.git] / addons / plugin_outlook / plugin_outlook.xml
1 <openerp>
2     <data>
3         <record id="view_outlook_installer" model="ir.ui.view">
4             <field name="name">outlook.installer.view</field>
5             <field name="model">outlook.installer</field>
6             <field name="type">form</field>
7             <field name="inherit_id" ref="base.res_config_installer"/>
8             <field name="arch" type="xml">
9                 <data>
10                     <form position="attributes">
11                         <attribute name="string">Install Outlook Plug-In</attribute>
12                     </form>
13                     <separator string="title" position="attributes">
14                         <attribute name="string">Install Outlook Plug-In</attribute>
15                     </separator>
16                     <xpath expr="//label[@string='description']" position="attributes">
17                         <attribute name="string">This plug-in allows you to create and link outlook emails with openerp objects.</attribute>
18                     </xpath>
19                     <xpath expr="//button[@string='Install Modules']" position="replace">
20                         <button colspan="1" icon="gtk-close" special="cancel" string="_Close"/>
21                     </xpath>
22                     <xpath expr="//button[@string='Cancel']" position="replace">
23                     </xpath>
24                     <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
25                         <attribute name="string"/>
26                         <attribute name="rowspan">15</attribute>
27                     </xpath>
28                     <group colspan="8" position="replace">
29                         <group colspan="8" height="450" width="750">
30                             <field name="name" widget="url"/>
31                             <newline/>
32                             <separator string="Installation and Configuration Steps" colspan="4"/>
33                             <field name="description" nolabel="1" colspan="8"/>
34                         </group>
35                     </group>
36                 </data>
37             </field>
38         </record>
39
40         <record id="action_outlook_installer" model="ir.actions.act_window">
41             <field name="name">Install Outlook Plug-In</field>
42             <field name="type">ir.actions.act_window</field>
43             <field name="res_model">outlook.installer</field>
44             <field name="view_id" ref="view_outlook_installer"/>
45             <field name="view_type">form</field>
46             <field name="view_mode">form</field>
47             <field name="target">new</field>
48         </record>
49
50         <record id="outlook_installer_todo" model="ir.actions.todo">
51             <field name="action_id" ref="action_outlook_installer"/>
52             <field name="category_id" ref="base.category_sales_management_config"/>
53             <field name="sequence">4</field>
54             <field name="type">automatic</field>
55         </record>
56
57         <record id="action_outlook_wizard" model="ir.actions.act_window">
58             <field name="name">Install Outlook Plug-In</field>
59             <field name="type">ir.actions.act_window</field>
60             <field name="res_model">outlook.installer</field>
61             <field name="view_id" ref="view_outlook_installer"/>
62             <field name="view_type">form</field>
63             <field name="view_mode">form</field>
64             <field name="target">new</field>
65             <field name="context">{'menu':True}</field>
66         </record>
67
68         <menuitem id="base.menu_base_config_plugins" name="Plugins" parent="base.menu_base_config" sequence="10"/>
69         <menuitem id="menu_base_config_plugins_outlook" action="action_outlook_wizard" parent="base.menu_base_config_plugins" sequence="10"/>
70
71     </data>
72 </openerp>