[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 + [
'chatter_position',
]
@property
def SELF_WRITEABLE_FIELDS(self):
return super().SELF_WRITEABLE_FIELDS + [
'chatter_position',
]
#----------------------------------------------------------
# Fields
#----------------------------------------------------------
chatter_position = fields.Selection(
selection=[
('side', 'Side'),
('bottom', 'Bottom'),
],
string="Chatter Position",
default='side',
required=True,
)