Skip to content

Commit

Permalink
[16.0][MIG] base_user_role_profile
Browse files Browse the repository at this point in the history
  • Loading branch information
andrel-exo committed Oct 11, 2023
1 parent 844f8b2 commit 5aa1232
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
8 changes: 6 additions & 2 deletions base_user_role_profile/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "User profiles",
"version": "14.0.1.0.0",
"version": "16.0.1.0.0",
"category": "Tools",
"author": "Akretion, Odoo Community Association (OCA)",
"license": "AGPL-3",
Expand All @@ -15,8 +15,12 @@
"views/user.xml",
"views/role.xml",
"views/profile.xml",
"views/assets.xml",
],
"assets": {
"web.assets_backend": [
"base_user_role_profile/static/src/js/switch_profile_menu.js",
],
},
"qweb": ["static/src/xml/templates.xml"],
"installable": True,
}
2 changes: 1 addition & 1 deletion base_user_role_profile/models/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class ResUsersProfile(models.Model):
_name = "res.users.profile"
_description = "Role profile"

name = fields.Char("Name")
name = fields.Char()
user_ids = fields.Many2many(
"res.users", string="Allowed users", compute="_compute_user_ids"
)
Expand Down
15 changes: 0 additions & 15 deletions base_user_role_profile/views/assets.xml

This file was deleted.

6 changes: 6 additions & 0 deletions setup/base_user_role_profile/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 5aa1232

Please sign in to comment.