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

    <!-- ============================================================ -->
    <!-- PAYCHEQUE REPORTS                                             -->
    <!-- ============================================================ -->
    
    <!-- Paycheque History Action -->
    <record id="action_payroll_report_paycheque_history" model="ir.actions.client">
        <field name="name">Paycheque History</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.paycheque.history'}</field>
    </record>

    <!-- Payroll Details Action -->
    <record id="action_payroll_report_payroll_details" model="ir.actions.client">
        <field name="name">Payroll Details</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.payroll.details'}</field>
    </record>

    <!-- ============================================================ -->
    <!-- TAX REPORTS                                                   -->
    <!-- ============================================================ -->

    <!-- Payroll Tax Liability Action -->
    <record id="action_payroll_report_tax_liability" model="ir.actions.client">
        <field name="name">Payroll Tax Liability</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.tax.liability'}</field>
    </record>

    <!-- Payroll Tax Payments Action -->
    <record id="action_payroll_report_tax_payments" model="ir.actions.client">
        <field name="name">Payroll Tax Payments</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.tax.payments'}</field>
    </record>

    <!-- Payroll Tax and Wage Summary Action -->
    <record id="action_payroll_report_tax_wage_summary" model="ir.actions.client">
        <field name="name">Payroll Tax and Wage Summary</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.tax.wage.summary'}</field>
    </record>

    <!-- ============================================================ -->
    <!-- SUMMARY REPORTS                                               -->
    <!-- ============================================================ -->

    <!-- Payroll Summary Action -->
    <record id="action_payroll_report_summary" model="ir.actions.client">
        <field name="name">Payroll Summary</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.summary'}</field>
    </record>

    <!-- Payroll Summary by Employee Action -->
    <record id="action_payroll_report_summary_employee" model="ir.actions.client">
        <field name="name">Payroll Summary by Employee</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.summary.by.employee'}</field>
    </record>

    <!-- ============================================================ -->
    <!-- EMPLOYEE REPORTS                                              -->
    <!-- ============================================================ -->

    <!-- Employee Directory / Payroll Item List Action -->
    <record id="action_payroll_report_employee_directory" model="ir.actions.client">
        <field name="name">Payroll Item List</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.employee.directory'}</field>
    </record>

    <!-- Time Off Report Action -->
    <record id="action_payroll_report_time_off" model="ir.actions.client">
        <field name="name">Time Off</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.time.off'}</field>
    </record>

    <!-- ============================================================ -->
    <!-- COST REPORTS                                                  -->
    <!-- ============================================================ -->

    <!-- Total Pay Action -->
    <record id="action_payroll_report_total_pay" model="ir.actions.client">
        <field name="name">Total Pay</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.total.pay'}</field>
    </record>

    <!-- Total Payroll Cost Action -->
    <record id="action_payroll_report_total_cost" model="ir.actions.client">
        <field name="name">Total Payroll Cost</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.total.cost'}</field>
    </record>

    <!-- Deductions and Contributions Action -->
    <record id="action_payroll_report_deductions" model="ir.actions.client">
        <field name="name">Deductions and Contributions</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.deductions'}</field>
    </record>

    <!-- ============================================================ -->
    <!-- COMPLIANCE REPORTS                                            -->
    <!-- ============================================================ -->

    <!-- Workers' Compensation Action -->
    <record id="action_payroll_report_workers_comp" model="ir.actions.client">
        <field name="name">Workers' Compensation</field>
        <field name="tag">fusion_payroll.payroll_report_action</field>
        <field name="context">{'report_model': 'payroll.report.workers.comp'}</field>
    </record>

</odoo>
