<?xml version="1.0"?>
<form string="Storage Category">
                <field name="company_id" invisible="1"/>
                <sheet>
                    <div class="oe_button_box" name="button_box">
                        <button name="612" string="Locations" type="action" class="oe_stat_button" icon="oi-arrows-v"/>
                    </div>
                    <group>
                        <group>
                            <field name="name"/>
                            <field name="allow_new_product"/>
                        </group>
                        <group>
                            <label for="max_weight"/>
                            <div class="o_row">
                                <field name="max_weight" class="oe_inline"/>
                                <field name="weight_uom_name" class="oe_inline"/>
                            </div>
                            <field name="company_id" groups="base.group_multi_company" placeholder="All Companies"/>
                        </group>
                    </group>
                    <notebook>
                        <page string="Capacity by Package" name="package_capacity" groups="stock.group_tracking_lot">
                            <field name="package_capacity_ids" context="{'default_storage_category_id': id, 'default_company_id': company_id}">
                                <list editable="bottom">
                                    <field name="package_type_id" required="1"/>
                                    <field name="quantity"/>
                                    <field name="company_id" column_invisible="True"/>
                                </list>
                            </field>
                        </page>
                        <page string="Capacity by Product" name="product_capacity">
                            <field name="product_capacity_ids" context="{'default_storage_category_id': id, 'default_company_id': company_id}">
                                <list editable="bottom">
                                    <field name="product_id" required="1" context="{'default_is_storable': True}"/>
                                    <field name="quantity"/>
                                    <field name="product_uom_id" groups="uom.group_uom" options="{'no_create': True, 'no_open': True}"/>
                                    <field name="company_id" column_invisible="True"/>
                                </list>
                            </field>
                        </page>
                    </notebook>
                </sheet>
            </form>
        