<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="sos_serial_batch_tracker_view_panel" model="ir.ui.view">
<field name="name">sos_serial_batch_tracker.search</field>
<field name="model">sos_serial_batch_tracker</field>
<field name="arch" type="xml">
<search position="inside">

  <field name="customer_name" string="Customer Name"/>

</search>
</field>
</record>
    <record id="sos_serial_batch_tracker_view_tree" model="ir.ui.view">
        <field name="name">sos_serial_batch_tracker.view.tree</field>
        <field name="model">sos_serial_batch_tracker</field>
        <field name="arch" type="xml">

            <tree>
                    <field name="name"/>
                   
                    <field name="customer_name"/>
                    <field name="batch_no"/>
                    <field name="serial_no"/>
                    <field name="indent_no"/>
                
            </tree>
        </field>
    </record>
          
 <record id="action_serial_batch_tracker" model="ir.actions.act_window">
    <field name="name">Finished Goods</field>
    <field name="type">ir.actions.act_window</field>
    <field name="res_model">sos_serial_batch_tracker</field>
    <field name="view_mode">tree,form</field>
    <field name="view_id" ref="sos_serial_batch_tracker_view_tree"/>
</record>
       <record id="sos_serial_batch_tracker_form_view" model="ir.ui.view">
      <field name="name">Form</field>
        <field name="model">sos_serial_batch_tracker</field>
        <field name="arch" type="xml">
            <form>
            <sheet>
                <h2 style="text-align: center;text-transform: uppercase;text-shadow: 1px 1p 1px #140718;color: #65407c;padding:5px;">Batch &amp; Serial Numbers</h2><hr></hr><br></br>
                <group>
                    <field name="name"/>
                    <field name="customer_name"/>
                    <field name="batch_no"/>
                    </group>
                    <group>
                    <field name="serial_no"/>
                    <field name="indent_no"/>


              
                  </group>
     
  
                </sheet>
            </form>
        </field>
    </record>

              <menuitem id="sos_serial_batch_tracker_menu"
              name="Batch &amp; Serial Numbers"
              parent="production_forms_menu_root"
              action="action_serial_batch_tracker"/>
</odoo>
