incidencias.xml
7.42 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="0">
<record id="action_incidencias_act_window" model="ir.actions.act_window">
<field name="type">ir.actions.act_window</field>
<field name="name">Incidencias</field>
<field name="res_model">hgt.incidencias</field>
<field name="view_mode">tree,form</field>
<field name="view_type">form</field>
<field name="target">current</field>
</record>
<record id="view_incidencias_tree" model="ir.ui.view">
<field name="name">Incidencias</field>
<field name="model">hgt.incidencias</field>
<field name="type">tree</field>
<field name="mode">primary</field>
<field name="priority" eval="16" />
<field name="active" eval="True" />
<field name="arch" type="xml">
<tree>
<!-- <field name="in_numero" /> -->
<!-- <field name="ost_asunto" /> -->
<field name="in_fecha"/>
<field name="name"/>
<!-- <field name="url" widget="url"/> -->
<field colspan="2" name="cliente"/>
<field name="descripcion"/>
<field name="in_cerrada" />
</tree>
</field>
</record>
<record id="view_incidencias_form" model="ir.ui.view">
<field name="name">Incidencias</field>
<field name="model">hgt.incidencias</field>
<field name="type">form</field>
<field name="mode">primary</field>
<field name="priority" eval="16" />
<field name="active" eval="True" />
<field name="arch" type="xml">
<form>
<!--<sheet>-->
<header>
<button type="object" name="splitInci" string="Separar en incidencias" class="oe_highlight"/>
</header>
<group col="4" string="Incidencia">
<field name="in_cerrada" invisible="1" />
<field name="name" colspan="2" attrs="{'readonly':[('in_cerrada','=',True)]}"/>
<!-- <field colspan="2" name="fecha_creacion"/> -->
<field colspan="2" name="in_fecha" attrs="{'readonly':[('in_cerrada','=',True)]}"/>
<field colspan="2" name="descripcion" attrs="{'readonly':[('in_cerrada','=',True)]}"/>
<field colspan="2" name="estado" attrs="{'readonly':[('in_cerrada','=',True)]}"/>
</group>
<group col="4">
<field colspan="2" name="responsabilidad" attrs="{'readonly':[('in_cerrada','=',True)]}"/>
<field colspan="2" name="cliente" attrs="{'readonly':[('in_cerrada','=',True)]}"/>
</group>
<group col="1">
<h2>Temas</h2>
<field name="in_temas" nolabel="1" attrs="{'readonly':[('in_cerrada','=',True)]}"/>
</group>
<group col="2" string="Mensajes">
<h3>Histórico de mensajes:</h3>
<field name="in_historico_mensajes" readonly="1" colspan="2" nolabel='1' attrs="{'readonly':[('in_cerrada','=',True)]}"/>
</group>
<group col="2">
<field name="in_texto_mensaje" nolabel='1' colspan="1" attrs="{'readonly':[('in_cerrada','=',True)]}" />
<button name="enviarMensaje_in" attrs="{'readonly':[('in_cerrada','=',True)]}" class="oe_edit_only" colspan="1" string="Enviar Mensaje" type="object" />
<field name="in_in_interno" attrs="{'readonly':[('in_cerrada','=',True)]}" colspan="1"/>
</group>
<group>
<field name="in_mensajes" required="0" nolabel="1" >
<tree delete="false" create="false">
<field name="in_mens_fecha" attrs="{'readonly': True}" />
<field name="in_creador" attrs="{'readonly': True}" />
<field name="in_mensaje" attrs="{'readonly': True}" />
</tree>
</field>
</group>
<notebook>
<page string="Tareas">
<group col="4">
<field name="proyecto" colspan="2" />
<field name="accion" colspan="2"/>
<field name="tarea" colspan="2" readonly="1"/>
</group>
</page>
<page string="Tareas delegadas">
<button type="object" name="generar_tareas" string="Generar Tareas"/>
<h2>Descripcion de la tarea</h2>
<group col="1">
<field name="texto_descripcion" nolabel="1" />
</group>
<group col="6">
<field name="tiempo_carga" colspan="2"/>
<field name="abrir" widget="boolean_toggle" />
<field name="asignador" colspan="2"/>
</group>
<field name="tareas" nolabel="1"/>
</page>
<page string="Reporte">
<field name="reporte" nolabel="1"/>
</page>
</notebook>
<!--</sheet>-->
<h2>MOD. VIEJO - OSTicket</h2>
<group col="2">
<field name="url" widget="url"/>
<field name="in_numero" />
<field name="ost_cliente" />
</group>
<group col="4">
<field name="ost_mail" />
<field name="ost_telefeno" />
</group>
<group col="1">
<h2>Asunto</h2>
<field name="ost_asunto" nolabel="1"/>
<h2>Descripcion</h2>
<field name="descripcion" nolabel="1"/>
<h2>Mensajes</h2>
<field name="ost_mensaje" nolabel="1"/>
</group>
</form>
</field>
</record>
<record id="view_incidencias_search" model="ir.ui.view">
<field name="name">Incidencias</field>
<field name="model">hgt.incidencias</field>
<field name="arch" type="xml">
<search>
<field name="name" />
</search>
</field>
</record>
</data>
</odoo>