[add] purpose-built inheritable view for res.config.installer instances
authorXavier Morel <xmo@tinyerp.com>
Sat, 23 Jan 2010 22:32:05 +0000 (23:32 +0100)
committerXavier Morel <xmo@tinyerp.com>
Sat, 23 Jan 2010 22:32:05 +0000 (23:32 +0100)
bzr revid: xmo@tinyerp.com-20100123223205-vqs0t44aqih67ngl

bin/addons/base/res/res_config.xml

index 2b1d3b4..a85fb61 100644 (file)
       </field>
     </record>
 
+    <record id="res_config_installer" model="ir.ui.view">
+      <field name="name">Inheritable view for installer objects</field>
+      <field name="model">res.config.installer</field>
+      <field name="type">form</field>
+      <field name="arch" type="xml">
+
+        <form>
+          <group>
+            <separator string="title" colspan="4"/>
+            <group colspan="4" col="10">
+              <group colspan="2">
+                <image name="gtk-dialog-info"/>
+                <newline/>
+                <label align="0.0" string="description"/>
+              </group>
+              <group colspan="8"/>
+            </group>
+          </group>
+          <separator string="" colspan="4"/>
+          <group colspan="4" col="8">
+            <field name="progress" widget="progressbar"/>
+            <label string="" colspan="3"/>
+            <group colspan="1" col="2">
+              <button name="action_skip" icon="gtk-goto-last" special="cancel"
+                      type="object" string="Skip"/>
+            </group>
+            <group colspan="1" col="2">
+              <button name="action_next" icon="gtk-go-forward"
+                      type="object" string="Install Modules"/>
+            </group>
+          </group>
+        </form>
+
+      </field>
+    </record>
+
   </data>
 </openerp>