mirror of
https://gitlab.com/flectra-community/account-closing.git
synced 2024-11-24 22:52:03 +00:00
17 lines
591 B
Python
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,
|
||
|
)
|