-
Notifications
You must be signed in to change notification settings - Fork 0
/
invoice_extra.xml
28 lines (25 loc) · 930 Bytes
/
invoice_extra.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
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<report
id="report_extra_invoice"
string="Nombre: Factura Original"
model="account.invoice"
report_type="qweb-pdf"
file="bts.report_invoice_extra"
name="bts.report_invoice_extra"
attachment_use="False"
attachment="(object.state in ('open','paid')) and ('FACTORG'+(object.number or '').replace('/','')+'.pdf')"
/>
<report
id="report_extra_invoice_2"
string="Nombre: Copia de Factura"
model="account.invoice"
report_type="qweb-pdf"
file="bts.report_invoice_extra_2"
name="bts.report_invoice_extra_2"
attachment_use="False"
attachment="(object.state in ('open','paid')) and ('FACTCP'+(object.number or '').replace('/','')+'.pdf')"
/>
</data>
</openerp>