<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <!-- Used to bring a menu inside action menu  -->
        <record id="server_action_accounting_transfer" model="ir.actions.server">
            <field name="name">Accounting Transfer</field>
            <field name="model_id" ref="odex_benefit.model_service_request"/>
            <field name="binding_model_id" ref="odex_benefit.model_service_request"/>
            <field name="state">code</field>
            <field name="code">
                action = records.action_accounting_transfer()
            </field>
        </record>

        <!--<record id="server_action_seasonal_service_exchange_orders" model="ir.actions.server">
            <field name="name">Exchange orders</field>
            <field name="model_id" ref="odex_benefit.model_seasonal_service"/>
            <field name="binding_model_id" ref="odex_benefit.model_seasonal_service"/>
            <field name="state">code</field>
            <field name="code">
                action = records.action_accounting_transfer()
            </field>
        </record>-->

        <record id="action_assign_visit_sequence" model="ir.actions.server">
            <field name="name">Assign Visit Sequence</field>
            <field name="model_id" ref="odex_benefit.model_visit_location"/>
            <field name="binding_model_id" ref="odex_benefit.model_visit_location"/>
            <field name="state">code</field>
            <field name="code">
                action = records.assign_sequence_to_records()
            </field>
            <field name="binding_type">action</field>
        </record>

        <record id="action_assign_specialist_mass" model="ir.actions.server">
            <field name="name">Assign Specialist (Mass)</field>
            <field name="model_id" ref="odex_benefit.model_grant_benefit"/>
            <field name="binding_model_id" ref="odex_benefit.model_grant_benefit"/>
            <field name="binding_view_types">list</field>
            <field name="state">code</field>
            <field name="code">
                action = records.action_assign_specialist_mass()
            </field>
        </record>
    </data>
</odoo>