How to hide default fields from odoo


<field name="is_company" position="attributes">
    <attribute name="invisible">1</attribute>
</field>
<label for="is_company" position="attributes">
    <attribute name="invisible">1</attribute>
</label>

<field name="function" position="attributes">
    <attribute name="invisible">1</attribute>
</field>

 <xpath expr="//field[@name='line_ids']//tree//field[@name='uom_id']" position="attributes">
   <field name="uom_id" position="attributes">
     <attribute name="invisible">1</attribute>
   </field>
 </xpath>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s