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">
10 <form position="attributes">
11 <attribute name="string">Load Outlook Plug-In</attribute>
13 <separator string="title" position="attributes">
14 <attribute name="string">Load Outlook Plug-In</attribute>
16 <xpath expr="//label[@string='description']" position="attributes">
17 <attribute name="string">This plug-in allows you to link your e-mail to OpenERP's documents. You can attach it to any existing one in OpenERP or create a new one.</attribute>
19 <xpath expr="//button[@string='Install Modules']" position="replace">
20 <button colspan="1" icon="gtk-close" special="cancel" string="_Close" invisible="not context.get('menu',False)"/>
21 <button name="action_next" icon="gtk-go-forward" type="object" string="Configure" colspan="1" invisible="context.get('menu',False)"/>
23 <xpath expr="//button[@string='Skip']" position="replace">
24 <button name="action_skip" icon="gtk-jump-to" special="cancel" type="object" string="Skip" colspan="1" invisible="context.get('menu',False)"/>
26 <xpath expr="//separator[@string="vsep"]" position="attributes">
27 <attribute name="string"/>
28 <attribute name="rowspan">15</attribute>
30 <group colspan="8" position="replace">
31 <group colspan="8" height="450" width="750">
32 <field name="outlook" invisible="1"/>
33 <field name="name" invisible="1"/>
34 <field name="doc_name" invisible="1"/>
36 <field name="plugin_file" filename="name"/>
38 <field name="doc_file" filename="doc_name" widget="url"/>
40 <separator string="Installation and Configuration Steps" colspan="4"/>
41 <field name="description" nolabel="1" colspan="8"/>
48 <record id="action_outlook_installer" model="ir.actions.act_window">
49 <field name="name">Load Outlook Plug-In</field>
50 <field name="type">ir.actions.act_window</field>
51 <field name="res_model">outlook.installer</field>
52 <field name="view_id" ref="view_outlook_installer"/>
53 <field name="view_type">form</field>
54 <field name="view_mode">form</field>
55 <field name="target">new</field>
58 <record id="outlook_installer_todo" model="ir.actions.todo">
59 <field name="action_id" ref="action_outlook_installer"/>
60 <field name="category_id" ref="base.category_sales_management_config"/>
61 <field name="sequence">4</field>
64 <record id="action_outlook_wizard" model="ir.actions.act_window">
65 <field name="name">Load Outlook Plug-In</field>
66 <field name="type">ir.actions.act_window</field>
67 <field name="res_model">outlook.installer</field>
68 <field name="view_id" ref="view_outlook_installer"/>
69 <field name="view_type">form</field>
70 <field name="view_mode">form</field>
71 <field name="target">new</field>
72 <field name="context">{'menu':True}</field>
75 <menuitem id="base.menu_base_config_plugins" name="Plugins" parent="base.menu_base_config" sequence="10"/>
77 <menuitem id="menu_base_config_plugins_outlook" action="action_outlook_wizard" name="Load Outlook Plug-In" parent="base.menu_base_config_plugins" sequence="10"/>