mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-11-22 21:52:06 +00:00
43 lines
1.8 KiB
XML
43 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!--
|
|
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
-->
|
|
<flectra>
|
|
<record id="account_payment_order_form" model="ir.ui.view">
|
|
<field name="name">pain.base.account.payment.order.form</field>
|
|
<field name="model">account.payment.order</field>
|
|
<field
|
|
name="inherit_id"
|
|
ref="account_payment_order.account_payment_order_form"
|
|
/>
|
|
<field name="arch" type="xml">
|
|
<field name="company_partner_bank_id" position="after">
|
|
<field name="sepa" invisible="not sepa_payment_method" />
|
|
<field name="sepa_payment_method" invisible="1" />
|
|
<field name="show_warning_not_sepa" invisible="1" />
|
|
<field name="batch_booking" readonly="state not in ['draft','open']" />
|
|
<field
|
|
name="charge_bearer"
|
|
invisible="sepa"
|
|
readonly="state not in ['draft','open']"
|
|
/>
|
|
</field>
|
|
<header position="after">
|
|
<div
|
|
class="alert alert-warning"
|
|
role="alert"
|
|
invisible="not show_warning_not_sepa"
|
|
>
|
|
This payment order is <b
|
|
>not SEPA</b>. If it is not intented, check that all payment lines are in € and that all bank accounts are valid IBANs with a country prefix in the <a
|
|
href="https://en.wikipedia.org/wiki/Single_Euro_Payments_Area"
|
|
target="_blank"
|
|
>SEPA zone</a>.
|
|
</div>
|
|
</header>
|
|
</field>
|
|
</record>
|
|
|
|
</flectra>
|