<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record model="ir.ui.view" id="view_stock_rule_form">
        <field name="name">stock.rule.form - procurement_auto_create_group</field>
        <field name="model">stock.rule</field>
        <field name="inherit_id" ref="stock.view_stock_rule_form" />
        <field name="arch" type="xml">
            <field name="group_propagation_option" position="after">
                <field
                    name="auto_create_group"
                    attrs="{'invisible':[('group_propagation_option','!=','propagate')]}"
                />
            </field>
        </field>
    </record>
</odoo>
