mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Improvements include: - full re-organisation of modules and big re-organisation of the code - simplification of the code related to the fact that support for direct debit is now in t he base module, not added by an optional module account_direct_debit (module was removed) - new design of the wizard to select move lines to pay - support for non-SEPA file transfer- - support for German direct debit SEPA files (fixes bug #129) - remove workflow of payment.order This port to v9 is not finished... there is still a lot of work: - finish the code of account_payment_order/wizard/account_payment_line_create.py - port account_banking_payment_transfer and integrate it inside account_payment_order - fix bugs - clean-up code, remove dead code - test in several complex scenarios
38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2013-2016 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="account_payment_line_form" model="ir.ui.view">
|
|
<field name="name">account_banking_mandate.account.payment.line.form</field>
|
|
<field name="model">account.payment.line</field>
|
|
<field name="inherit_id" ref="account_payment_order.account_payment_line_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="partner_bank_id" position="after">
|
|
<field name="mandate_id"
|
|
domain="[('partner_bank_id', '=', partner_bank_id), ('state', '=', 'valid')]"
|
|
invisible="context.get('default_payment_type') != 'inbound'"
|
|
context="{'default_partner_bank_id': partner_bank_id}"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="account_payment_line_tree" model="ir.ui.view">
|
|
<field name="name">account_banking_mandate.account.payment.line.tree</field>
|
|
<field name="model">account.payment.line</field>
|
|
<field name="inherit_id" ref="account_payment_order.account_payment_line_tree"/>
|
|
<field name="arch" type="xml">
|
|
<field name="partner_bank_id" position="after">
|
|
<field name="mandate_id"
|
|
invisible="context.get('default_payment_type') != 'inbound'"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|