-
Notifications
You must be signed in to change notification settings - Fork 4
/
giscedata_facturacio_view.xml
30 lines (29 loc) · 1.34 KB
/
giscedata_facturacio_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
<?xml version="1.0"?>
<openerp>
<data>
<!-- Afegim l'apart d'enviament de factures per E-mail -->
<record model="ir.ui.view" id="view_factura_ov_check_visible_form">
<field name="name">view.factura.ov.check.visible.form</field>
<field name="model">giscedata.facturacio.factura</field>
<field name="inherit_id" ref="giscedata_facturacio.view_factura_form"/>
<field name="type">form</field>
<field name="arch" type="xml">
<xpath expr="//label[@string='(keep empty to use the current period)']" position="after">
<group col="2" colspan="4">
<field name="visible_ov" readonly="1" select="2"/>
</group>
</xpath>
</field>
</record>
<record model="ir.ui.view" id="view_factura_ov_check_visible_tree_ov">
<field name="name">view.factura.ov.check.visible.tree</field>
<field name="model">giscedata.facturacio.factura</field>
<field name="inherit_id" ref="giscedata_facturacio.view_factura_tree"/>
<field name="arch" type="xml">
<field name="state" position="after">
<field name="visible_ov" select="2"/>
</field>
</field>
</record>
</data>
</openerp>