~anybox/aeroo/openerp6

« back to all changes in this revision

Viewing changes to report_aeroo_direct_print/installer.xml

  • Committer: root
  • Date: 2013-05-16 15:46:46 UTC
  • Revision ID: root@erp.kndati.lv-20130516154646-5lesr8tyzl1vdc0k
1.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<openerp>
 
2
  <data>
 
3
 
 
4
    <record id="view_aeroo_printer_installer" model="ir.ui.view">
 
5
      <field name="name">aeroo_printer.installer.view</field>
 
6
      <field name="model">aeroo_printer.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">Aeroo direct printing Configuration</attribute>
 
13
              </form>
 
14
              <separator string="title" position="attributes">
 
15
                   <attribute name="string">Available Printers</attribute>
 
16
              </separator>
 
17
              <xpath expr="//label[@string='description']" position="attributes">
 
18
                  <attribute name="string">Here you can connect printers for Aeroo direct print to printer.</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="Next" colspan="1" invisible="context.get('menu',False)" states="done"/>
 
24
                <button name="process" icon="gtk-go-forward" type="object" string="Process" colspan="1" states="init"/>
 
25
              </xpath>
 
26
              <xpath expr="//button[@name='action_skip']" position="attributes">
 
27
                <attribute name="invisible">context.get('menu',False)</attribute>
 
28
              </xpath>
 
29
              <xpath expr='//separator[@string="vsep"]' position='attributes'>
 
30
                                <attribute name='string'></attribute>
 
31
                                <attribute name='rowspan'>25</attribute>
 
32
                          </xpath>
 
33
              <xpath expr='//group[field/@name="config_logo"]' position="attributes">
 
34
                <attribute name="height">500</attribute>
 
35
              </xpath>
 
36
              <field name="config_logo" position="attributes">
 
37
                <attribute name="height">440</attribute>
 
38
                <attribute name="img_height">440</attribute>
 
39
              </field>
 
40
                          <group colspan="8" position="replace">
 
41
              <group colspan="8" height="100" width="400" expand="1">
 
42
                  <group colspan="4" expand="1">
 
43
                      <field name="printer_ids" colspan="4" nolabel="1" readonly="1"/>
 
44
                  </group>
 
45
                  <group colspan="4" states="done">
 
46
                      <label string="New printers has been connected for Aeroo printing." colspan="4"/>
 
47
                  </group>
 
48
                  <newline/>
 
49
                  <field name="state" invisible="1"/>
 
50
              </group>
 
51
              </group>
 
52
          </data>
 
53
      </field>
 
54
    </record>
 
55
 
 
56
    <record id="action_aeroo_printer_installer" model="ir.actions.act_window">
 
57
      <field name="name">Aeroo direct printing Configuration</field>
 
58
      <field name="type">ir.actions.act_window</field>
 
59
      <field name="res_model">aeroo_printer.installer</field>
 
60
      <field name="view_id" ref="view_aeroo_printer_installer"/>
 
61
      <field name="view_type">form</field>
 
62
      <field name="view_mode">form</field>
 
63
      <field name="target">new</field>
 
64
    </record>
 
65
 
 
66
    <record id="aeroo_printer_installer_todo" model="ir.actions.todo">
 
67
        <field name="action_id" ref="action_aeroo_printer_installer"/>
 
68
        <field name="restart">always</field>
 
69
        <field name="sequence">3</field>
 
70
    </record>
 
71
 
 
72
  </data>
 
73
</openerp>