Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6561 มุมมอง

I want to remove XPath from another view

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 20
3707
1
ส.ค. 19
6410
1
ก.พ. 25
2605
3
ธ.ค. 24
2311
2
มี.ค. 24
2385