[init] init

This commit is contained in:
2026-04-11 22:08:23 -04:00
commit 4cffd9d7e0
214 changed files with 6099 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
from odoo import models, fields, api
class ResUsers(models.Model):
_inherit = 'res.users'
#----------------------------------------------------------
# Properties
#----------------------------------------------------------
@property
def SELF_READABLE_FIELDS(self):
return super().SELF_READABLE_FIELDS + [
'dialog_size',
]
@property
def SELF_WRITEABLE_FIELDS(self):
return super().SELF_WRITEABLE_FIELDS + [
'dialog_size',
]
#----------------------------------------------------------
# Fields
#----------------------------------------------------------
dialog_size = fields.Selection(
selection=[
('minimize', 'Minimize'),
('maximize', 'Maximize'),
],
string="Dialog Size",
default='minimize',
required=True,
)