forked from Techsystech/web
[IMP] web_chatter_position: black, isort, prettier
parent
b7e65be2f8
commit
a71ba65d19
|
@ -0,0 +1 @@
|
|||
../../../../web_chatter_position
|
|
@ -0,0 +1,6 @@
|
|||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['setuptools-odoo'],
|
||||
odoo_addon=True,
|
||||
)
|
|
@ -18,9 +18,7 @@
|
|||
"/web_chatter_position/static/src/scss/attachment_viewer.scss",
|
||||
"/web_chatter_position/static/src/js/form_chatter_position.js",
|
||||
],
|
||||
"web.assets_qweb": [
|
||||
"/web_chatter_position/static/src/xml/form_buttons.xml",
|
||||
],
|
||||
"web.assets_qweb": ["/web_chatter_position/static/src/xml/form_buttons.xml"],
|
||||
},
|
||||
"installable": True,
|
||||
"auto_install": False,
|
||||
|
|
|
@ -8,8 +8,7 @@ class ResUsers(models.Model):
|
|||
_inherit = "res.users"
|
||||
|
||||
chatter_position = fields.Selection(
|
||||
[("bottom", "Bottom"), ("sided", "Sided")],
|
||||
default="sided",
|
||||
[("bottom", "Bottom"), ("sided", "Sided")], default="sided",
|
||||
)
|
||||
|
||||
# Override so that the user can change the chatter_position field
|
||||
|
|
Loading…
Reference in New Issue