<!-- <?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="action_report_project_task" model="ir.actions.report">
        <field name="name">Project / Task</field>
        <field name="model">project.task</field>
        <field name="report_type">qweb-pdf</field>
        <field name="report_name">project_acceptance.report_project_task</field>
        <field name="report_file">project_acceptance.report_project_task</field>
        <field name="print_report_name">(object.stage_id.name in ('New', 'In Progress' 'Cancelled') and 'Task - %s' % (object.name)) or 'Task - %s' % (object.name)</field>
        <field name="print_report_name"></field>
        <field name="binding_model_id" ref="model_project_task"/>
        <field name="binding_type">report</field>
    </record>

</odoo> -->