mirror of
https://github.com/bringout/oca-financial.git
synced 2026-04-25 12:42:03 +02:00
14 lines
649 B
XML
14 lines
649 B
XML
<odoo>
|
|
<record id="report_account_billing" model="ir.actions.report">
|
|
<field name="name">Billing</field>
|
|
<field name="model">account.billing</field>
|
|
<field name="report_name">account_billing.report_billing</field>
|
|
<field name="report_type">qweb-pdf</field>
|
|
<field name="report_file">account_billing.report_billing</field>
|
|
<field name="binding_model_id" ref="model_account_billing" />
|
|
<field name="binding_type">report</field>
|
|
<field
|
|
name="print_report_name"
|
|
>'BILL-%s%s' % (object.name, object.state == 'draft' and '-draft' or '')</field>
|
|
</record>
|
|
</odoo>
|