-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapuntes_view.xml
58 lines (58 loc) · 2.41 KB
/
apuntes_view.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="view_apuntes_form" model="ir.ui.view">
<field name="name">view_apuntes_form</field>
<field name="model">apuntes</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="tree_string">
<field name="name" />
<field name="importe" />
<field name="fechaVen" />
<field name="estado" />
</form>
</field>
</record>
<record id="view_apuntes_tree" model="ir.ui.view">
<field name="name">view_apuntes_tree</field>
<field name="model">apuntes</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="tree_string">
<field name="name" />
<field name="importe" />
<field name="fechaVen" />
<field name="estado" />
</tree>
</field>
</record>
<record model="ir.ui.view" id="view_apuntes_search">
<field name="name">view_apuntes_search</field>
<field name="model">apuntes</field>
<field name="type">search</field>
<field name="arch" type="xml">
<search string="mantenimiento_search">
<filter string="Importe > 100" domain="[('importe','>',100)]" />
<filter string="No pagados" domain="[('estado','=',0)]" />
<field name="name" />
<field name="importe" />
<separator orientation="vertical" />
</search>
</field>
</record>
<record id="act_apuntes" model="ir.actions.act_window">
<field name="name">Apuntes</field>
<field name="res_model">apuntes</field>
<field name="view_type">form</field>
<field name="view_mode">form,tree</field>
<field name="search_view_id" ref="view_apuntes_search" />
</record>
<menuitem id="gestionApuntes" name="Gestion Economica"
action="act_apuntes" sequence="130"/>
<menuitem id="apuntes_menu" parent="gestionApuntes" name="Apuntes"
action="act_apuntes" sequence="110" />
<menuitem name="Ver Apuntes" id="apuntes_submenu" parent="apuntes_menu"
sequence="110" action="act_apuntes" />
</data>
</openerp>