~account-core-editors/account-invoice-report/github-7.0

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- replace by account.account_invoices -->
        <report
            auto="False"
            id="account.account_invoices"
            model="account.invoice"
            name="account.invoice"
            file="invoice_webkit/report/account_invoice.mako"
            string="Invoices"
            attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/',''))"
            attachment_use="1"
            multi="True"
            report_type="webkit"/>
    </data>
    <data noupdate="1">
        <record id="account.account_invoices" model="ir.actions.report.xml">
            <field name="webkit_header" ref="base_headers_webkit.base_reports_portrait_header"></field>
        </record>
    </data>
</openerp>