Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6455 Visualizzazioni

I want to remove XPath from another view

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

Avatar
Abbandona
Risposta migliore

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

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

Avatar
Abbandona
Autore

<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

Post correlati Risposte Visualizzazioni Attività
0
apr 20
3613
1
ago 19
6299
1
feb 25
2486
3
dic 24
2114
2
mar 24
2306