bank-payment/account_banking_sepa_credit_transfer/models/account_payment_line.py

18 lines
642 B
Python
Raw Normal View History

2024-05-03 08:36:50 +00:00
# Copyright 2017-2020 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from flectra import fields, models
class AccountPaymentLine(models.Model):
_inherit = "account.payment.line"
# Local_instrument 'INST' used for instant credit transfers
# which will begin on November 21st 2017, cf
# https://www.europeanpaymentscouncil.eu/document-library/
# rulebooks/2017-sepa-instant-credit-transfer-rulebook
local_instrument = fields.Selection(
selection_add=[("INST", "Instant Transfer")],
ondelete={"INST": "set null"},
)