~compassion/banking-addons/banking-addons-mandate

« back to all changes in this revision

Viewing changes to account_payment_partner/view/partner.xml

  • Committer: Alexis de Lattre
  • Date: 2014-02-24 23:19:57 UTC
  • mto: (256.1.6 7.0)
  • mto: This revision was merged to the branch mainline in revision 264.
  • Revision ID: alexis@via.ecp.fr-20140224231957-zvat9v6px110emrq
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
 
 
3
<!--
 
4
    Copyright (C) 2014 Akretion (http://www.akretion.com/)
 
5
    @author Alexis de Lattre <alexis.delattre@akretion.com>
 
6
    The licence is in the file __openerp__.py
 
7
-->
 
8
 
 
9
<openerp>
 
10
<data>
 
11
 
 
12
 
 
13
<record id="view_partner_property_form" model="ir.ui.view">
 
14
    <field name="name">account_partner_payment.partner_form</field>
 
15
    <field name="model">res.partner</field>
 
16
    <field name="inherit_id" ref="account.view_partner_property_form" />
 
17
    <field name="arch" type="xml">
 
18
        <field name="property_payment_term" position="after">
 
19
            <field name="customer_payment_mode_type"
 
20
                attrs="{'invisible': [('customer', '=', False)]}"/>
 
21
            <field name="partner_bank_receivable"
 
22
                domain="[('partner_id.ref_companies', 'in', [company_id])]"
 
23
                attrs="{'invisible': [('customer', '=', False)]}" />
 
24
        </field>
 
25
        <field name="property_supplier_payment_term" position="after">
 
26
            <field name="supplier_payment_mode_type"
 
27
                attrs="{'invisible': [('supplier', '=', False)]}"/>
 
28
        </field>
 
29
    </field>
 
30
</record>
 
31
 
 
32
 
 
33
</data>
 
34
</openerp>