Files
account-financial-tools/account_subsequence_fiscal_year/models/res_config_settings.py
Sylvain LE GAL 1ef9c7ead8 [ADD] new module account_subsequence_fiscal_year
Co-authored-by: Saran @ Ecosoft <saranl@ecosoft.co.th>
2021-03-30 21:58:19 +02:00

14 lines
446 B
Python

# Copyright (C) 2020 - Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
account_subsequence_method = fields.Selection(
related="company_id.account_subsequence_method",
readonly=False,
)