<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <record model="ir.ui.view" id="mrp_config_settings_versioning">
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="mrp.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <div id="mrp_reception_report" position="after">
                <div class="col-12 col-lg-6 o_setting_box" id="mrp_bom_version">
                    <div class="o_setting_left_pane">
                        <field name="group_mrp_bom_version" />
                    </div>
                    <div class="o_setting_right_pane">
                        <label for="group_mrp_bom_version" />
                        <div class="text-muted">
                            Allow to re-edit BoMs
                        </div>
                        <div
                            class="row mt-2"
                            attrs="{'invisible': [('group_mrp_bom_version','=',False)]}"
                        >
                            <field
                                name="active_draft"
                                class="col flex-grow-0 ml16 mr0 pe-2"
                            />
                            <div class="col ps-0">
                                <label for="active_draft" />
                                <div class="text-muted">
                                    Keep re-editing BoM active
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </field>
    </record>
</odoo>
