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">
11
<form position="attributes">
12
<attribute name="string">Aeroo direct printing Configuration</attribute>
14
<separator string="title" position="attributes">
15
<attribute name="string">Available Printers</attribute>
17
<xpath expr="//label[@string='description']" position="attributes">
18
<attribute name="string">Here you can connect printers for Aeroo direct print to printer.</attribute>
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"/>
26
<xpath expr="//button[@name='action_skip']" position="attributes">
27
<attribute name="invisible">context.get('menu',False)</attribute>
29
<xpath expr='//separator[@string="vsep"]' position='attributes'>
30
<attribute name='string'></attribute>
31
<attribute name='rowspan'>25</attribute>
33
<xpath expr='//group[field/@name="config_logo"]' position="attributes">
34
<attribute name="height">500</attribute>
36
<field name="config_logo" position="attributes">
37
<attribute name="height">440</attribute>
38
<attribute name="img_height">440</attribute>
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"/>
45
<group colspan="4" states="done">
46
<label string="New printers has been connected for Aeroo printing." colspan="4"/>
49
<field name="state" invisible="1"/>
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>
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>