mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
- add module account_banking_pain_base - add support for initiating party identification, priority and structured remittance info in XML file - the requested execution date now uses the fields date_prefered and date_scheduled (the field of the wizard has been removed) - the 'convert to ascii' feature is now an option of the payment mode (enabled by default) - set 'communication' field of payment.line to 140 chars and hide field 'communication2' - Code factoring for SCT and SDD - Add support for direct debit migration from national format to SEPA - Source : Standard-XML-SDD-Initiation-v3-EN by Febelfin - Add group in order to mask the fields for "Original Mandate Indentification" for users in countries that don't required it. - Add tracking on important fields of the mandate. - Better form view on company. - Update constraint on mandate following my devs on "Original Mandate Identification". - Add support for Party Identifier for Belgium. Can be easily extended for other countries. - Mutualize more code between SCT and SDD.
42 lines
1.6 KiB
XML
42 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2013 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="view_payment_line_form" model="ir.ui.view">
|
|
<field name="name">pain.base.payment.line.form</field>
|
|
<field name="model">payment.line</field>
|
|
<field name="inherit_id" ref="account_payment.view_payment_line_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="bank_id" position="after">
|
|
<field name="priority"/>
|
|
<newline />
|
|
</field>
|
|
<field name="state" position="after">
|
|
<field name="struct_communication_type" attrs="{'invisible': [('state', '!=', 'structured')], 'required': [('state', '=', 'structured')]}"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_payment_order_form" model="ir.ui.view">
|
|
<field name="name">pain.base.payment.line.inside.order.form</field>
|
|
<field name="model">payment.order</field>
|
|
<field name="inherit_id" ref="account_payment.view_payment_order_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='line_ids']/form//field[@name='bank_id']" position="after">
|
|
<field name="priority"/>
|
|
<newline />
|
|
</xpath>
|
|
<xpath expr="//field[@name='line_ids']/form//field[@name='state']" position="after">
|
|
<field name="struct_communication_type" attrs="{'invisible': [('state', '!=', 'structured')], 'required': [('state', '=', 'structured')]}"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|