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

how to delete the payment_terms_id field in the rental module on  

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

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 25
2321
1
thg 6 25
809
1
thg 9 25
1495
2
thg 7 24
1935
0
thg 12 23
1377