Skip to Content
Menu
This question has been flagged
1 Atsakyti
1669 Rodiniai

how to delete the payment_terms_id field in the rental module on  

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
liep. 25
2174
1
birž. 25
712
1
rugs. 25
1379
2
liep. 24
1874
0
gruod. 23
1286