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>It will not show your field label because you have added field in <code>&lt;div&gt;</code></p>

<p>Try with following code.</p>

<p>Replace </p>

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

<p>with</p>

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

python xml openerp odoo-9