forked from Techsystech/web
Update models.py
parent
8cd3ee8335
commit
3a8e8a2ed9
|
@ -10,7 +10,7 @@ class Base(models.AbstractModel):
|
||||||
_inherit = "base"
|
_inherit = "base"
|
||||||
|
|
||||||
def check_access_rule_all(self, operations=None):
|
def check_access_rule_all(self, operations=None):
|
||||||
"""Verifies that the operation given by ``operations`` is allowed for
|
""" Verifies that the operation given by ``operations`` is allowed for
|
||||||
the user according to ir.rules.
|
the user according to ir.rules.
|
||||||
|
|
||||||
If ``operations`` is empty, it returns the result for all actions.
|
If ``operations`` is empty, it returns the result for all actions.
|
||||||
|
|
Loading…
Reference in New Issue