<?xml version="1.0" encoding="utf-8"?>

<!--
    Copyright (C) 2014 Akretion (http://www.akretion.com/)
    @author Alexis de Lattre <alexis.delattre@akretion.com>
    The licence is in the file __openerp__.py
-->

<openerp>
<data>


<record id="view_partner_property_form" model="ir.ui.view">
    <field name="name">account_partner_payment.partner_form</field>
    <field name="model">res.partner</field>
    <field name="inherit_id" ref="account.view_partner_property_form" />
    <field name="arch" type="xml">
        <field name="property_payment_term" position="after">
            <field name="customer_payment_mode"
                attrs="{'invisible': [('customer', '=', False)]}"/>
        </field>
        <field name="property_supplier_payment_term" position="after">
            <field name="supplier_payment_mode"
                attrs="{'invisible': [('supplier', '=', False)]}"/>
        </field>
    </field>
</record>


</data>
</openerp>
