<odoo>
    <record id="view_dock_audit_report_form" model="ir.ui.view">
        <field name="name">dock.audit.report.form</field>
        <field name="model">dock.audit.report</field>
        <field name="arch" type="xml">
            <form string="Dock Audit Report">
                <group>
                    <field name="dock_audit_id"/>
                     <field name="phaselist_id"/>
                </group>
                <footer>
                   <button class="btn btn-primary" type="object"  
                   name="action_generate_report"> <i class="fa fa-print"></i> 
                   Print</button>
                   <!-- <button name="action_generate_report" string="Generate Report" type="object" class="btn-primary"/> -->
                    <button string="Cancel" class="btn-secondary" special="cancel"/>
                </footer>
            </form>
        </field>
    </record>

    <record id="action_dock_audit_report" model="ir.actions.act_window">
        <field name="name">Dock Audit Report</field>
        <field name="res_model">dock.audit.report</field>
        <field name="view_mode">form</field>
        <field name="target">new</field>
    </record>
</odoo>