Files
enterprise-addons/account_iso20022/models/res_config_settings.py
T

14 lines
862 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
iso20022_orgid_id = fields.Char(related='company_id.iso20022_orgid_id', string="Identification", readonly=False,
help="Identification assigned by an institution (eg. VAT number).")
iso20022_orgid_issr = fields.Char(related='company_id.iso20022_orgid_issr', string="Issuer", readonly=False,
help="Will appear in SEPA payments as the name of the party initiating the payment. Limited to 70 characters.")
iso20022_initiating_party_name = fields.Char(related='company_id.iso20022_initiating_party_name', string="Your Company Name", help="Name of the Creditor Reference Party. Usage Rule: Limited to 70 characters in length.", readonly=False)