Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1745 Visualizzazioni

how to delete the payment_terms_id field in the rental module on  

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
set 25
2303
1
giu 25
806
1
set 25
1473
2
lug 24
1930
0
dic 23
1367