bank-payment/account_banking_pain_base/models/res_config_settings.py
2021-03-23 20:28:51 +01:00

24 lines
939 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')
initiating_party_identifier = fields.Char(
related='company_id.initiating_party_identifier')
initiating_party_scheme = fields.Char(
related='company_id.initiating_party_scheme')
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.",
)