account-closing/account_cutoff_accrual_picking/wizards/res_config_settings.py
2021-04-28 16:52:58 +02:00

17 lines
591 B
Python

# Copyright 2020-2021 Akretion France (http://www.akretion.com/)
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
from flectra import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
# I can't name it default_cutoff_accrual_picking_interval_days
# because 'default_' is a special prefix
dft_cutoff_accrual_picking_interval_days = fields.Integer(
related="company_id.default_cutoff_accrual_picking_interval_days",
readonly=False,
)