-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathsummary_invoice_reports.xml
More file actions
24 lines (24 loc) · 1.12 KB
/
Copy pathsummary_invoice_reports.xml
File metadata and controls
24 lines (24 loc) · 1.12 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
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="report_jp_summary_invoice" model="ir.actions.report">
<field name="name">JP Summary Invoice</field>
<field name="model">account.billing</field>
<field name="report_name">l10n_jp_summary_invoice.report_summary_invoice</field>
<field name="report_type">qweb-pdf</field>
<field name="report_file">l10n_jp_summary_invoice.report_summary_invoice</field>
<field name="binding_model_id" ref="account_billing.model_account_billing" />
<field name="binding_type">report</field>
<field name="attachment_use">True</field>
<field
name="attachment"
>(object.state == 'posted') and ('Summary Invoice-%s' % (object.name))</field>
<field
name="print_report_name"
>'Summary Invoice-%s%s' % (object.name, object.state == 'draft' and '-draft' or '')</field>
<field
name="paperformat_id"
ref="report_alternative_layout.report_paperformat_a4_alt"
/>
<field name="show_remit_to_bank" eval="True" />
</record>
</odoo>