mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
19 lines
494 B
Python
19 lines
494 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import logging
|
|
|
|
from odoo import api, fields, models, _
|
|
from odoo.exceptions import UserError, ValidationError
|
|
|
|
_logger = logging.getLogger(__name__)
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
default_chatter_position = fields.Selection([
|
|
("auto", "Responsive"),
|
|
("bottom", "Bottom"),
|
|
("sided", "Sided"),
|
|
], string='Default Chatter Position', default="bottom", default_model="res.users")
|