Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1542 Vistas

how to delete the payment_terms_id field in the rental module on  

Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
jul 25
1961
1
jun 25
490
1
feb 25
1160
2
jul 24
1740
0
dic 23
1166