We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c333f97 commit 8b58fbfCopy full SHA for 8b58fbf
1 file changed
odoo/addons/base/models/ir_rule.py
@@ -13,7 +13,7 @@ class IrRule(models.Model):
13
_name = 'ir.rule'
14
_description = 'Record Rule'
15
_order = 'model_id DESC,id'
16
- _MODES = ['read', 'write', 'create', 'unlink']
+ _MODES = ('read', 'write', 'create', 'unlink')
17
_allow_sudo_commands = False
18
19
name = fields.Char(index=True)
0 commit comments