account-reconcile/account_reconcile_oca/models/res_config_settings.py

13 lines
325 B
Python

# Copyright 2024 Dixmit
# 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"
reconcile_aggregate = fields.Selection(
related="company_id.reconcile_aggregate", readonly=False
)