Skip to content

Commit

Permalink
[MIG] product_management_group: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vib-adhoc authored and nicomacr committed Feb 7, 2023
1 parent ce03164 commit 8bbba1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions product_management_group/__manifest__.py
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Products Management Group',
'version': "15.0.1.0.0",
'version': "16.0.1.0.0",
'category': 'base.module_category_knowledge_management',
'author': 'ADHOC SA',
'website': 'www.adhoc.com.ar',
Expand All @@ -30,5 +30,5 @@
'data': [
'security/product_management_security.xml',
],
'installable': False,
'installable': True,
}
2 changes: 0 additions & 2 deletions product_management_group/models/ir_model_access.py
Expand Up @@ -10,9 +10,7 @@ class IrModelAccess(models.Model):
_inherit = 'ir.model.access'

@api.model
@tools.ormcache_context('self.env.uid', 'self.env.su', 'model', 'mode', 'raise_exception', keys=('lang',))
def check(self, model, mode='read', raise_exception=True):

if isinstance(model, models.BaseModel):
assert model._name == 'ir.model', 'Invalid model object'
model_name = model.model
Expand Down

0 comments on commit 8bbba1e

Please sign in to comment.