cobros.xml
3.28 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
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="0">
<record id="action_vnt_cobros_act_window" model="ir.actions.act_window">
<field name="type">ir.actions.act_window</field>
<field name="name">Cobros</field>
<field name="res_model">vnt.cobros</field>
<field name="view_mode">tree,form</field>
<field name="view_type">form</field>
<field name="target">current</field>
</record>
<record id="view_vnt_cobros_tree" model="ir.ui.view">
<field name="name">Cobros</field>
<field name="model">vnt.cobros</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="co_cliente" />
<field name="co_total_deuda" />
<field name="co_total_interes" />
<field name="co_total" />
</tree>
</field>
</record>
<record id="view_vnt_cobros_form" model="ir.ui.view">
<field name="name">Cobros</field>
<field name="model">vnt.cobros</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>-->
<group col="2" string="Cliente y resumen">
<field colspan="1" nolabel="1" name="co_cliente" />
<div colspan="1"></div>
<field colspan="1" nolabel="1" name="co_resumen" />
</group>
<notebook colspan="4">
<page string="Deudas">
<field nolabel="1" name="co_lin_deuda">
<tree create="1" edit="1" editable="1">
<field name="ld_factura" />
<field name="ld_fecha_vto"/>
<field name="ld_estado"/>
<field name="ld_total"/>
<!-- <field name="ld_fecha_vto" editable="0" readonly="1" />
<field name="ld_estado" editable="0" readonly="1" />
<field name="ld_total" readonly="1" /> -->
<field name="ld_select"/>
</tree>
</field>
</page>
</notebook>
<group name='total' class="oe_subtotal_footer oe_right">
<field name="co_total_deuda" readonly="1" />
<field name="co_total_interes" readonly="1" />
<field name="co_total" readonly="1" />
</group>
<!--</sheet>-->
</form>
</field>
</record>
</data>
</odoo>