mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-11-26 23:52:05 +00:00
26 lines
975 B
Python
26 lines
975 B
Python
|
# Copyright 2016 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
||
|
# Copyright 2017 Tecnativa - Pedro M. Baeza
|
||
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||
|
|
||
|
from flectra import fields, models
|
||
|
|
||
|
|
||
|
class ResConfigSettings(models.TransientModel):
|
||
|
_inherit = "res.config.settings"
|
||
|
|
||
|
initiating_party_issuer = fields.Char(
|
||
|
related="company_id.initiating_party_issuer", readonly=False
|
||
|
)
|
||
|
initiating_party_identifier = fields.Char(
|
||
|
related="company_id.initiating_party_identifier", readonly=False
|
||
|
)
|
||
|
initiating_party_scheme = fields.Char(
|
||
|
related="company_id.initiating_party_scheme", readonly=False
|
||
|
)
|
||
|
group_pain_multiple_identifier = fields.Boolean(
|
||
|
string="Multiple identifiers",
|
||
|
implied_group="account_banking_pain_base." "group_pain_multiple_identifier",
|
||
|
help="Enable this option if your country requires several SEPA/PAIN "
|
||
|
"identifiers like in Spain.",
|
||
|
)
|