# Copyright 2018-2022 Akretion (http://www.akretion.com)
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import fields, models


class ResConfigSettings(models.TransientModel):
    _inherit = "res.config.settings"

    xml_format_in_pdf_invoice = fields.Selection(
        related="company_id.xml_format_in_pdf_invoice", readonly=False
    )
