<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
  <record id="view_material_bom_form" model="ir.ui.view">
            <field name="name">sos_material_bom.form</field>
            <field name="model">sos_material_bom</field>
            <field name="arch" type="xml">
                <form string="Component Group">
                    <sheet>
                                        <h2 style="text-align: center;text-transform: uppercase;text-shadow: 1px 1p 1px #140718;color: #65407c;padding:5px;">Material BOM</h2><hr></hr><br></br>  

                        <group>
                            <field name="name"/>
                        </group>
                        <notebook>
                            <page string="Materials">
                                <field name="line_ids">
                                    <tree editable="bottom">
                                        <field name="component_id"/>
                                        <field name="quantity"/>
                                    </tree>
                                 
                                </field>
                            </page>
                        </notebook>
                    </sheet>
                </form>
            </field>
        </record>

        <record id="action_material_bom_list" model="ir.actions.act_window">
        <field name="name">Material BOM</field>
        <field name="res_model">sos_material_bom</field>
        <field name="view_mode">tree,form</field>
        <field name="help" type="html">
            <p class="o_view_nocontent_smiling_face">
                Create your First BOM
            </p>
        </field>
    </record>

<!-- <menuitem id="material_bom_bom_menu"
              name="Material BOM"
              parent="bom_menu_root"
              action="action_material_bom_list" sequence="1"/> -->
              
</odoo>
