跳至內容
選單
此問題已被標幟
1 回覆
6285 瀏覽次數

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
3479
1
8月 19
6082
1
2月 25
2339
3
12月 24
1742
2
3月 24
2122