3
0
Fork 0

Update models.py

14.0
Urvisha-OSI 2022-11-14 11:17:18 +05:30 committed by GitHub
parent 8cd3ee8335
commit 3a8e8a2ed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.