Browse Source

publish muk_web_theme - 12.0

pull/48/head
MuK IT GmbH 6 years ago
parent
commit
1cd6b2c488
  1. 2
      muk_web_theme/__manifest__.py
  2. 12
      muk_web_theme/models/res_users.py

2
muk_web_theme/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Backend Theme",
"summary": "Odoo 12.0 community backend theme",
"version": "12.0.1.1.8",
"version": "12.0.1.1.9",
"category": "Themes/Backend",
"license": "AGPL-3",
"author": "MuK IT",

12
muk_web_theme/models/res_users.py

@ -43,11 +43,11 @@ class ResUsers(models.Model):
required=True)
def __init__(self, pool, cr):
super(ResUsers, self).__init__(pool, cr)
type(self).SELF_READABLE_FIELDS = list(self.SELF_READABLE_FIELDS)
init_res = super(ResUsers, self).__init__(pool, cr)
type(self).SELF_WRITEABLE_FIELDS = list(self.SELF_WRITEABLE_FIELDS)
type(self).SELF_READABLE_FIELDS.extend(['sidebar_type'])
type(self).SELF_READABLE_FIELDS.extend(['sidebar_type'])
type(self).SELF_WRITEABLE_FIELDS.extend(['chatter_position'])
type(self).SELF_WRITEABLE_FIELDS.extend(['sidebar_type'])
type(self).SELF_WRITEABLE_FIELDS.extend(['chatter_position'])
type(self).SELF_READABLE_FIELDS = list(self.SELF_READABLE_FIELDS)
type(self).SELF_READABLE_FIELDS.extend(['sidebar_type'])
type(self).SELF_READABLE_FIELDS.extend(['chatter_position'])
return init_res
Loading…
Cancel
Save