Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1599 Zobrazení

how to delete the payment_terms_id field in the rental module on  

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvc 25
2057
1
čvn 25
575
1
úno 25
1257
2
čvc 24
1794
0
pro 23
1210