<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <record id="product_template_share_form_view_beesdoo_emc"
            model="ir.ui.view">
        <field name="name">product.template.share.form</field>
        <field name="model">product.template</field>
        <field name="inherit_id"
               ref="easy_my_coop.product_template_share_form_view"/>
        <field name="arch" type="xml">
            <field name="customer" position="after">
                <field name="allow_working"
                       attrs="{'invisible':[('is_share','=',False)]}"/>
                <field name="allow_shopping"
                       attrs="{'invisible':[('is_share','=',False)]}"/>
                <field name="max_nb_eater_allowed"
                       attrs="{'invisible':[('is_share','=',False)]}"/>
            </field>
            <field name="minimum_quantity" position="after">
                <field name="eater"
                       attrs="{'invisible':[('is_share','=',False)]}"/>
            </field>
        </field>
    </record>
</odoo>
