~banking-addons-team/banking-addons/github-7.0

« back to all changes in this revision

Viewing changes to account_payment_partner/view/partner.xml

  • Committer: Stefan Rijnhart
  • Author(s): unknown
  • Date: 2014-06-25 09:19:35 UTC
  • mfrom: (225.1.23)
  • Revision ID: git-v1:7f93d703e87a5254b11a9900b0f0b35b49ec522c
1) Add 4 new modules to handle payment mode and bank accounts:
    - account_payment_partner
    - account_payment_sale
    - account_payment_sale_stock
    - account_payment_purchase

2) Filter the selection of invoices per payment mode.
    Add active field on payment.mode and payment.mode.type.
    Add menu entry for Payment Types.

3) Small code clean-up in the SEPA modules (views, 'state' field on SEPA file objects)

4) Code enhancement in the file account_banking_payment/model/account_payment.py (PEP-8, _prepare_* functions, support for payment lines with move_line_id = False)

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"
 
20
                attrs="{'invisible': [('customer', '=', False)]}"/>
 
21
        </field>
 
22
        <field name="property_supplier_payment_term" position="after">
 
23
            <field name="supplier_payment_mode"
 
24
                attrs="{'invisible': [('supplier', '=', False)]}"/>
 
25
        </field>
 
26
    </field>
 
27
</record>
 
28
 
 
29
 
 
30
</data>
 
31
</openerp>