transportista_vista.xml
2.93 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="0">
<!-- explicit list view definition -->
<record model="ir.ui.view" id="hgt_transportar.trans_transportista_list">
<field name="name">Transportista</field>
<field name="model">trans.transportista</field>
<field name="arch" type="xml">
<tree>
<field name="trans_nombre"/>
<field name="trans_razon_social"/>
<field name="trans_tipo_ent"/>
<field name="trans_telefono"/>
<field name="trans_tipo"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="hgt_transportar.trans_transportista_form">
<field name="name">Transportista</field>
<field name="model">trans.transportista</field>
<field name="arch" type="xml">
<form>
<header>
</header>
<sheet>
<group col="2" string="Datos generales">
<field name="trans_nombre" colspan="2"/>
<field name="trans_razon_social" colspan="2" required="1"/>
<field name="trans_cuit" colspan="2" required="1"/>
</group>
<group col="2">
<field name="trans_telefono" colspan="2" required="1"/>
<field name="trans_email" colspan="2"/>
<field name="trans_pagina_web" colspan="2"/>
<field name="trans_logo" colspan="2"/>
</group>
<group col="2">
<field name="trans_tipo_ent" colspan="2" required="1"/>
<field name="trans_tipo" colspan="2" />
<field name="trans_restriccion_elem" colspan="2"/>
<!-- <field name="trans_pto_retiro" colspan="2" /> -->
<field name="trans_posee_ayu" colspan="2"/>
<field name="trans_observ" colspan="2"/>
</group>
<group col="2" string="Datos de usuario">
<field name="trans_categoria" colspan="2"/>
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="hgt_transportar.trans_transportista_search">
<field name="name">Transportista</field>
<field name="model">trans.transportista</field>
<field name="arch" type="xml">
<search string="Busqueda de transportista">
<field name="trans_nombre"/>
<field name="trans_razon_social"/>
<field name="trans_tipo_ent"/>
<field name="trans_tipo"/>
</search>
</field>
</record>
<!-- actions opening views on models -->
<record model="ir.actions.act_window" id="hgt_transportar.trans_transportista_action_window">
<field name="name">Transportista</field>
<field name="res_model">trans.transportista</field>
<field name="view_mode">tree,form</field>
</record>
</data>
</odoo>