Label Not Showing in Odoo-9
<p>I created a boolean field. The boolean is showing but the label isn't.</p>

<pre><code>class product_pricelist_inherit(models.Model):
    _inherit = 'product.pricelist'

    myfield= fields.Boolean(string="Is this Pricelist Eligible for Me?")
</code></pre>

<p>XML:</p>

<pre><code>&lt;odoo&gt;
  &lt;record id="product_product_pricelist_view" model="ir.ui.view"&gt;
    &lt;field name="model"&gt;product.pricelist&lt;/field&gt;
    &lt;field name="inherit_id" ref="product.product_pricelist_view"/&gt;
    &lt;field name="arch" type="xml"&gt;
        &lt;field name="name" position="after"&gt;
          &lt;field name="myfield"/&gt;
        &lt;/field&gt;
    &lt;/field&gt;
  &lt;/record&gt;
&lt;/odoo&gt;
</code></pre>

<p>You can use <code>group</code> to show field label:  </p>

<pre><code>&lt;group&gt;
    &lt;field name="myfield"/&gt;
&lt;/group&gt;
</code></pre>

<p>There is a <code>group</code> just after <code>name</code> field, It can be done using <code>xpath</code>:  </p>

<pre><code>&lt;xpath expr="//group" position="inside"&gt;
    &lt;field name="myfield"/&gt;
&lt;/xpath&gt;
</code></pre>

<p>For the first example you can use <code>position="before"</code></p>

python xml openerp odoo-9