Odoo Help


Remove xpath using inherit that view

Sunny Dabgar
on 10/6/16, 12:21 AM 634 views

I want to remove XPath from another view

I had inherited that view which type of XPath is use to remove other <xpath> tag

Juan Vicente Pascual
On 10/6/16, 3:00 AM

just "replace" the fields added within the xpath tag,

like <field name="field_to_replace" position="replace"/>

<xpath expr="//field[@name='project_id']" position="before">

<label for="template_id"/>


<field name="template_id" context="{'company_id': company_id}" on_change="onchange_template_id(template_id, partner_id, fiscal_position_id, pricelist_id)"/>



i want to remove this whole Xpath

i had use as told you but <div></div> is still there so my form view is spoiled

and i want to remove template_id field with its label

Sunny Dabgar
on 10/6/16, 3:31 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/6/16, 12:21 AM
Seen: 634 times
Last updated: 10/6/16, 3:00 AM