Add module account_payment_force_maturity_date

Better inherit in account_payment_hide_communication2 (invisible=1 instead of replace)
This commit is contained in:
Alexis de Lattre
2015-05-06 17:05:34 +02:00
parent ae0bd93403
commit 2a311b8cb8
7 changed files with 186 additions and 1 deletions

View File

@@ -13,7 +13,9 @@
<field name="model">payment.order</field>
<field name="inherit_id" ref="account_payment.view_payment_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='line_ids']/form//field[@name='communication2']" position="replace" />
<xpath expr="//field[@name='line_ids']/form//field[@name='communication2']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
</field>
</record>