Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6411 Lượt xem

I want to remove XPath from another view

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

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

Ảnh đại diện
Huỷ bỏ
Tác giả

<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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 20
3542
1
thg 8 19
6202
1
thg 2 25
2419
3
thg 12 24
1965
2
thg 3 24
2222