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

        <record id="action_report_media_barcode" model="ir.actions.report">
            <field name="name">Media Barcode</field>
            <field name="model">op.media</field>
            <field name="report_type">qweb-pdf</field>
            <field name="report_name">openeducat_library.report_media_barcode</field>
            <field name="report_file">openeducat_library.report_media_barcode</field>
            <field name="binding_model_id" ref="openeducat_library.model_op_media"/>
            <field name="binding_type">report</field>
        </record>

        <record id="action_report_student_library_card_barcode" model="ir.actions.report">
            <field name="name">Library Card Barcode</field>
            <field name="model">op.library.card</field>
            <field name="report_type">qweb-pdf</field>
            <field name="report_name">openeducat_library.report_library_card_barcode</field>
            <field name="report_file">openeducat_library.report_library_card_barcode</field>
            <field name="binding_model_id" ref="openeducat_library.model_op_library_card"/>
            <field name="binding_type">report</field>
        </record>

        <record id="action_report_student_library_card" model="ir.actions.report">
            <field name="name">Library ID Card</field>
            <field name="model">op.student</field>
            <field name="report_type">qweb-pdf</field>
            <field name="report_name">openeducat_library.report_student_library_card</field>
            <field name="report_file">openeducat_library.report_student_library_card</field>
            <field name="print_report_name">'Library ID Card - %s' % (object.name)</field>
            <field name="binding_model_id" ref="openeducat_library.model_op_student"/>
            <field name="binding_type">report</field>
        </record>

</odoo>
