comprobante.xml
2.1 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
<odoo>
<data>
<record id="view_form_inherit_comprobante_recibido_ui" model="ir.ui.view">
<field name="name">Comprobante</field>
<field name="model">asw.comprobante</field>
<field name="inherit_id" ref="asw_tpv.view_form_comprobante_recibido_ui"/>
<field name="arch" type="xml">
<data>
<xpath expr="//group[1]" position="after">
<group string="Referencias" col="4" attrs="{'invisible': [('comp_tal_menu', '!=', 'fac')]}">
<field name="referencia_corr" nolabel="1" widget="many2many_tags" />
</group>
</xpath>
</data>
</field>
</record>
<record id="view_form_inherit_comprobante_ui" model="ir.ui.view">
<field name="name">Comprobante</field>
<field name="model">asw.comprobante</field>
<field name="inherit_id" ref="asw_tpv.view_form_comprobante_ui"/>
<field name="arch" type="xml">
<data>
<xpath expr="//group[1]" position="after">
<group string="Referencias" col="4" attrs="{'invisible': [('comp_tal_menu', '!=', 'fac')]}">
<field name="referencia_corr" nolabel="1" widget="many2many_tags" />
</group>
</xpath>
</data>
</field>
</record>
<record id="view_form_inherit_comprobante_afip_ui" model="ir.ui.view">
<field name="name">Comprobante</field>
<field name="model">asw.comprobante</field>
<field name="inherit_id" ref="asw_afipws_fe.view_invoice_afipws_fe_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='afip_xml_response']" position="after">
<field name="afip_qr" />
<field name="afip_qr_img" widget="image"/>
</xpath>
</data>
</field>
</record>
</data>
</odoo>