gastosmobil.xml
2.48 KB
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
49
50
51
52
53
54
55
56
57
58
<odoo>
<data>
<record model="ir.actions.act_window" id="hgt_gastos_mobil_list_action">
<field name="name">Gastos mobil</field>
<field name="res_model">hgt.mobil_gastos_config</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">Cree la configuracion de carga de gasto moobil</p>
</field>
</record>
<record id="view_tree_hgt_gastos_mobil_ui" model="ir.ui.view">
<field name="name">Gasto mobil</field>
<field name="model">hgt.mobil_gastos_config</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="habilitado" />
</tree>
</field>
</record>
<record id="view_form_hgt_gastos_mobil_ui" model="ir.ui.view">
<field name="name">Configuracion de Gastos moviles</field>
<field name="model">hgt.mobil_gastos_config</field>
<field name="arch" type="xml">
<form>
<header>
<button type="object" name="BotonPrueba" string="Prueba de gasto" class="btn btn-success"/>
</header>
<sheet>
<!--
<div class="oe_title">
<label for="ban_descripcion" class="oe_edit_only" />
<h1 class="o_row">
<field name="ban_descripcion" class="oe_inline" placeholder="Nombre" />
</h1>
</div>
-->
<group col="5" string="Identificacion">
<field name="name" placeholder="Código" />
<field name="habilitado"/>
</group>
<group col="2" string="Configuracion">
<field name="producto" />
<field name="talonario"/>
<field name="forma_pago"/>
<field name="talonario_recibo"/>
</group>
</sheet>
</form>
</field>
</record>
</data>
</odoo>