<odoo>
    <record model="ir.actions.server" id="stock_generate_pull_list">
        <field name="name">Generate Pull List</field>
        <field name="model_id" ref="stock.model_stock_picking" />
        <field name="binding_model_id" ref="stock.model_stock_picking" />
        <field name="state">code</field>
        <field name="code">
            action = records.action_create_pull_list()
        </field>
    </record>
</odoo>
