コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1670 ビュー

how to delete the payment_terms_id field in the rental module on  

アバター
破棄
最善の回答

Hi,


If you are trying to remove the field payment_term_id from the rental module, you can do it like this,


<record id="rental_order_form_view" model="ir.ui.view">

<field name="name">rental.order.form.inherit</field>

<field name="model">sale.order</field>

<field name="inherit_id" ref="sale_renting.rental_order_form_view"/>

<field name="arch" type="xml">

<xpath expr="//field[@name='payment_term_id']"

position="attributes">

<attribute name="invisible">1</attribute>

</xpath>

</field>

</record>


Hope it helps



Hope it helps

アバター
破棄
関連投稿 返信 ビュー 活動
0
7月 25
2175
1
6月 25
712
1
9月 25
1380
2
7月 24
1874
0
12月 23
1286