18 lines
409 B
Python
18 lines
409 B
Python
from odoo import fields, models
|
|
|
|
|
|
class ResUsersSettings(models.Model):
|
|
|
|
_inherit = 'res.users.settings'
|
|
|
|
homemenu_config = fields.Json(
|
|
string="Home Menu Configuration",
|
|
readonly=True,
|
|
)
|
|
color_scheme = fields.Selection(
|
|
[("system", "System"), ("light", "Light"), ("dark", "Dark")],
|
|
default="system",
|
|
required=True,
|
|
string="Color Scheme",
|
|
)
|