mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-11-24 06:32:07 +00:00
24 lines
939 B
Python
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.",
|
||
|
)
|