콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6467 화면

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

관련 게시물 답글 화면 활동
0
4월 20
3634
1
8월 19
6308
1
2월 25
2503
3
12월 24
2149
2
3월 24
2318