<?xml version="1.0"?>
<form string="Stock Location">
                <field name="company_id" invisible="1"/>
                <sheet>
                    <div class="oe_button_box" name="button_box">
                        <button string="Putaway Rules" class="oe_stat_button" icon="fa-random" name="538" type="action" groups="stock.group_stock_multi_locations" context="{'default_company_id': company_id}"/>
                        <button string="Current Stock" class="oe_stat_button" icon="fa-cubes" name="544" type="action"/>
                    </div>
                    <widget name="web_ribbon" title="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
                    <label for="name"/>
                    <h1><field name="name" placeholder="e.g. Spare Stock"/></h1>
                    <label for="location_id"/>
                    <h2><field name="location_id" placeholder="e.g. Physical Locations" options="{'no_create': True}"/></h2>

                    <group>
                        <group string="Additional Information" name="additional_info">
                            <field name="active" invisible="1"/>
                            <field name="usage"/>
                            <field name="storage_category_id" attrs="{'invisible': [('usage', '!=', 'internal')]}" groups="stock.group_stock_storage_categories"/>
                            <field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
                            <field name="scrap_location" attrs="{'invisible': [('usage', 'not in', ('inventory', 'internal'))]}"/>
                            <field name="return_location"/>
                            <field name="replenish_location" attrs="{'invisible': [('usage', '!=', 'internal')]}"/>
                        </group>
                        <group string="Cyclic Counting" attrs="{'invisible': ['|', ('usage', 'not in', ('internal', 'transit')), ('company_id', '=', False)]}">
                            <field name="cyclic_inventory_frequency"/>
                            <field name="last_inventory_date"/>
                            <field name="next_inventory_date" attrs="{'invisible': [('active', '=', False)]}"/>
                        </group>
                        <group string="Logistics" groups="stock.group_adv_location">
                            <field name="removal_strategy_id" options="{'no_create': True}"/>
                        </group>
                    </group>
                    <field name="comment" placeholder="External note..."/>
                </sheet>
            </form>
        