Files
bank-payment/account_payment_purchase/view/purchase.xml
Alexis de Lattre 948772d1b0 Add 4 new modules to handle payment type and bank accounts:
- account_payment_partner
- account_payment_sale
- account_payment_sale_stock
- account_payment_purchase

Filter the selection of invoices per payment type.
Add active field on payment.mode and payment.mode.type.
Add menu entry for Payment Types.
2014-02-25 00:19:57 +01:00

27 lines
782 B
XML

<?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_type"/>
<field name="supplier_partner_bank"
domain="[('partner_id', '=', partner_id)]" />
</field>
</field>
</record>
</data>
</openerp>