[FIX] purchase: newlines in XML attributes should be newlines not carriage returns...
[odoo/odoo.git] / addons / outlook / outlook_installer.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record id="view_outlook_installer" model="ir.ui.view">
5             <field name="name">outlook.installer.view</field>
6             <field name="model">outlook.installer</field>
7             <field name="type">form</field>
8             <field name="inherit_id" ref="base.res_config_installer"/>
9             <field name="arch" type="xml">
10                 <data>
11                     <form position="attributes">
12                         <attribute name="string">Outlook Plug-In Configuration</attribute>
13                     </form>
14                     <separator string="title" position="attributes">
15                         <attribute name="string">Outlook Plug-In</attribute>
16                     </separator>
17                     <xpath expr="//label[@string='description']" position="attributes">
18                         <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>
20                     <xpath expr="//button[@string='Install Modules']" position="replace">
21                         <button colspan="1" icon="gtk-close" special="cancel" string="_Close" invisible="not context.get('menu',False)"/>
22                         <button name="action_next" icon="gtk-go-forward"
23                                 type="object" string="Configure" colspan="1" invisible="context.get('menu',False)"/>
24                     </xpath>
25                     <xpath expr="//button[@string='Skip']" position="replace">
26                         <button name="action_skip" icon="gtk-jump-to" special="cancel"
27                                 type="object" string="Skip" colspan="1" invisible="context.get('menu',False)"/>
28                     </xpath>
29                     <xpath expr='//separator[@string="vsep"]' position='attributes'>
30                         <attribute name='string'></attribute>
31                         <attribute name='rowspan'>15</attribute>
32                     </xpath>
33                     <group colspan="8" position="replace">
34                         <group colspan="8" height="450" width="750">
35                             <field name="outlook" invisible="1" />
36                             <field name="name" invisible="1"/>
37                             <field name="doc_name" invisible="1"/>
38                                 <newline/>
39                             <field name="plugin_file" filename="name"/>
40                                 <newline/>
41                             <field name="doc_file" filename="doc_name" widget="url"/>
42                                 <newline/>
43                             <separator string="Installation and Configuration Steps" colspan="4"/>
44                             <field name="description" nolabel="1" colspan="8"/>
45                         </group>
46                     </group>
47                 </data>
48             </field>
49         </record>
50
51         <record id="action_outlook_installer" model="ir.actions.act_window">
52             <field name="name">Outlook Plug-In Configuration</field>
53             <field name="type">ir.actions.act_window</field>
54             <field name="res_model">outlook.installer</field>
55             <field name="view_id" ref="view_outlook_installer"/>
56             <field name="view_type">form</field>
57             <field name="view_mode">form</field>
58             <field name="target">new</field>
59         </record>
60
61         <record id="outlook_installer_todo" model="ir.actions.todo">
62             <field name="action_id" ref="action_outlook_installer"/>
63             <field name="sequence">4</field>
64         </record>
65
66         <record id="action_outlook_wizard" model="ir.actions.act_window">
67             <field name="name">Outlook Plug-In Configuration</field>
68             <field name="type">ir.actions.act_window</field>
69             <field name="res_model">outlook.installer</field>
70             <field name="view_id" ref="view_outlook_installer"/>
71             <field name="view_type">form</field>
72             <field name="view_mode">form</field>
73             <field name="target">new</field>
74             <field name="context">{'menu':True}</field>
75         </record>
76
77         <menuitem id="base.menu_base_config_plugins"
78                   name="Plugins"
79                   parent="base.menu_base_config"
80                   sequence="10" />
81
82         <menuitem id="menu_base_config_plugins_outlook"
83                   action="action_outlook_wizard"
84                   name="Outlook Plug-In"
85                   parent="base.menu_base_config_plugins"
86                   sequence="10" />
87     </data>
88 </openerp>