title: How to define correct XPath location?
body: <p>I was set ssnid &amp; sinid as invisible fields.but both are still shows in my view.seems issue with XPath location.!</p>
  
  <p>
  
  <p>Anyone can help me to sort out ?</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;openerp&gt;
      &lt;data&gt;
          &lt;!-- 1st part of the sim_view start --&gt;
          &lt;record model="ir.ui.view" id="madulsima_plucker_form"&gt;
              &lt;field name="name"&gt;madulsima.plucker.form&lt;/field&gt;
              &lt;field name="model"&gt;madulsima.plucker&lt;/field&gt;
              &lt;field name="inherit_id" ref="hr.view_employee_form" /&gt;
              &lt;field name="type"&gt;form&lt;/field&gt;
              &lt;field name="arch" type="xml"&gt;
                  &lt;notebook position="inside"&gt;
                      &lt;page string="Madulsima Plucker Fields"&gt;
                          &lt;field name="reg_no" /&gt;
                          &lt;field name="worker_name" /&gt;
  
                          &lt;xpath expr="/form/notebook/page/group/field[@name='ssnid']"
                              position="attributes"&gt;
                              &lt;attribute name="invisible"&gt;True&lt;/attribute&gt;
                          &lt;/xpath&gt;
                          &lt;xpath expr="/form/notebook/page/group/field[@name='sinid']"
                              position="attributes"&gt;
                              &lt;attribute name="invisible"&gt;True&lt;/attribute&gt;
                          &lt;/xpath&gt;
  
                      &lt;/page&gt;
                  &lt;/notebook&gt;
              &lt;/field&gt;
          &lt;/record&gt;
  
          &lt;record model="ir.actions.act_window" id="action_plucker_registration"&gt;
              &lt;field name="name"&gt;Plucker Registration&lt;/field&gt;
              &lt;field name="res_model"&gt;madulsima.plucker&lt;/field&gt;
              &lt;field name="view_type"&gt;form&lt;/field&gt;
              &lt;field name="view_mode"&gt;form&lt;/field&gt;
          &lt;/record&gt;
  
  
          &lt;menuitem id="menu_madulsima_plucker" name="Madulsima/Checkroll" /&gt;
  
          &lt;menuitem id="menu_madulsima_plucker_registration" name="Plucker Registration"
              parent="menu_madulsima_plucker" action="action_plucker_registration" /&gt;
      &lt;/data&gt;
  &lt;/openerp&gt;
  </code></pre>
  
  <p>i posted my whole code in view.xml</p>