~unifield-team/unifield-wm/us-826

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<openerp>
  <data>
    <record id="view_msf_instance_setup" model="ir.ui.view">
      <field name="name">Instance Configuration</field>
      <field name="model">msf_instance.setup</field>
      <field name="type">form</field>
      <field name="inherit_id" ref="base.res_config_view_base"/>
      <field name="arch" type="xml">
        <data>
          <form position="attributes">
            <attribute name="string">Instance Configuration</attribute>
          </form>
          <xpath expr="//label[@string='description']" position="attributes">
                <attribute name="string">Configure instance</attribute>
          </xpath>
          <xpath expr='//separator[@string="title"]' position='attributes'>
                    <attribute name='string'>Configure instance</attribute>
          </xpath>
          <xpath expr='//separator[@string="vsep"]' position='attributes'>
                    <attribute name='rowspan'>25</attribute>
                    <attribute name='string'></attribute>
          </xpath>
          <group string="res_config_contents" position="replace">
              <group colspan="5">
                <field name="instance_id" />
              </group>
           </group>
        </data>
      </field>
    </record>

    <record id="action_msf_instance_setup" model="ir.actions.act_window">
      <field name="name">Instance</field>
      <field name="type">ir.actions.act_window</field>
      <field name="res_model">msf_instance.setup</field>
      <field name="view_id" ref="view_msf_instance_setup"/>
      <field name="view_type">form</field>
      <field name="view_mode">form</field>
      <field name="target">new</field>
    </record>

    <record id="fixed_msf_instance_todo" model="ir.actions.todo">
        <field name="action_id" ref="action_msf_instance_setup"/>
        <field name="sequence">3</field>
        <field name="restart">never</field>
    </record>
  </data>
</openerp>