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

« back to all changes in this revision

Viewing changes to account_banking_sepa_credit_transfer/account_banking_sepa.py

  • 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
# -*- encoding: utf-8 -*-
1
2
##############################################################################
2
3
#
3
4
#    SEPA Credit Transfer module for OpenERP
81
82
        'state': fields.selection([
82
83
            ('draft', 'Draft'),
83
84
            ('sent', 'Sent'),
84
 
            ('done', 'Reconciled'),
85
85
            ], 'State', readonly=True),
86
86
    }
87
87