# Copyright 2020-2021 Akretion France (http://www.akretion.com/) # @author: Alexis de Lattre # 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_picking_interval_days = fields.Integer( related="company_id.default_cutoff_picking_interval_days", readonly=False, )