Odoo Help

Welcome!

This community 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.

0

Remove xpath using inherit that view

By
Sunny Dabgar
on 10/6/16, 12:21 AM 145 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

0
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"/>

<div>

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

</div>

</xpath>

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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