title: How to get form id in xpath expr odoo?
body: <p>I'm trying to get id or name of from view because I want to set it invisible
  I try this </p>
  
  <pre><code>&lt;xpath expr="//form[@name='res.partner.form']" position="attributes"&gt;
                  &lt;attribute name="invisible"&gt;True&lt;/attribute&gt;
              &lt;/xpath&gt;
  &lt;xpath expr="//form[@id='res_partner_form']" position="attributes"&gt;
                  &lt;attribute name="invisible"&gt;True&lt;/attribute&gt;
              &lt;/xpath&gt;
  </code></pre>