<?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="purchase_order_form" model="ir.ui.view">
    <field name="name">account_payment_purchase.purchase_order.form</field>
    <field name="model">purchase.order</field>
    <field name="inherit_id" ref="purchase.purchase_order_form"/>
    <field name="arch" type="xml">
        <field name="payment_term_id" position="after">
            <field name="payment_mode_id"/>
            <field name="supplier_partner_bank_id"/>
        </field>
    </field>
</record>

</data>
</openerp>

<?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="purchase_order_form" model="ir.ui.view">
    <field name="name">account_payment_purchase.purchase_order.form</field>
    <field name="model">purchase.order</field>
    <field name="inherit_id" ref="purchase.purchase_order_form"/>
    <field name="arch" type="xml">
        <field name="payment_term_id" position="after">
            <field name="payment_mode_id"
                domain="[('purchase_ok', '=', True)]"
                widget="selection"/>
            <field name="supplier_partner_bank_id"/>
        </field>
    </field>
</record>

</data>
</openerp>

Add sale_ok and purchase_ok filters in partner/sale/purchase form views Use widget=selection for payment_mode_id fields Update demo data
Add sale_ok and purchase_ok filters in partner/sale/purchase form views Use widget=selection for payment_mode_id fields Update demo data
