mirror of
https://gitlab.com/flectra-community/server-ux.git
synced 2024-11-14 18:22:05 +00:00
15 lines
660 B
Python
15 lines
660 B
Python
# Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from flectra import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = "res.config.settings"
|
|
|
|
date_format = fields.Char(related="company_id.date_format", readonly=False)
|
|
time_format = fields.Char(related="company_id.time_format", readonly=False)
|
|
week_start = fields.Selection(related="company_id.week_start", readonly=False)
|
|
decimal_point = fields.Char(related="company_id.decimal_point", readonly=False)
|
|
thousands_sep = fields.Char(related="company_id.thousands_sep", readonly=False)
|