salones.xml
1.46 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
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="0">
<!-- actions opening views on models -->
<record model="ir.actions.act_window" id="hgt_salones_action_window">
<field name="name">Salones</field>
<field name="res_model">hgt.salones</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">Cree el primer Salón</p>
</field>
</record>
<record model="ir.ui.view" id="hgt_salones_list">
<field name="name">Salones</field>
<field name="model">hgt.salones</field>
<field name="arch" type="xml">
<tree>
<field name="nombre"/>
<field name="codigo"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="hgt_salones_form">
<field name="name">Salones</field>
<field name="model">hgt.salones</field>
<field name="arch" type="xml">
<form>
<sheet>
<group col="4" string="Datos del Salón">
<field colspan="2" name="nombre"/>
<field colspan="2" name="codigo"/>
</group>
</sheet>
</form>
</field>
</record>
</data>
</odoo>