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

I want to add additinal fields in  one2many purchase.order.line. How can i do that using xpath??

 

頭像
捨棄
最佳答案

<xpath expr="//label[@string='existing_field']" position="after">  #after or before
    <field name="your_field"/>
</xpath>

but i i think is easier:

<field name="existing_field" position="after"> #after or before
    <field name="your_field"/>

</field>
 

 

 

頭像
捨棄