<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <record id="view_update_share_line_info" model="ir.ui.view">
            <field name="name">Update Share line Info</field>
            <field name="model">share.line.update.info</field>
            <field name="arch" type="xml">
                <form string="Update Share Line Info">
                    <p class="oe_grey">
                        Update Share Line Info.
                    </p>
                    <group>
                        <field name="cooperator" readonly="True"/>
                        <field name="share_line" readonly="True"/>
                        <field name="effective_date"/>
                    </group>
                    <footer>
                        <button name="update" string="Update Info" type="object"
                                class="btn-primary"/>
                        <button string="Cancel" class="btn-default"
                                special="cancel"/>
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_view_update_share_line_info"
                model="ir.actions.act_window">
            <field name="name">Update Share Line Info</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">share.line.update.info</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
            <field name="groups_id"
                   eval="[(4,ref('easy_my_coop.group_easy_my_coop_manager'))]"/>
        </record>

    </data>
</odoo>