summaryrefslogtreecommitdiff
path: root/odoo/addons/test_access_rights
diff options
context:
space:
mode:
authorNimesh Jethva <nje@odoo.com>2018-09-17 16:35:47 +0530
committerYannick Tivisse <yti@odoo.com>2018-09-21 11:45:15 +0200
commit427ba08e0d161e322c5774d7e99be6daf93ece86 (patch)
tree55b1db22f08bd949712303bbfd16327e484b94d9 /odoo/addons/test_access_rights
parent7eea263f3649a5b6e7e9456bf30de13d7c65d13a (diff)
[IMP]various: Improvement in model description
Purpose of this commit is to give description more "business oriented" because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers. Related Task ID : 37311
Diffstat (limited to 'odoo/addons/test_access_rights')
-rw-r--r--odoo/addons/test_access_rights/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/odoo/addons/test_access_rights/models.py b/odoo/addons/test_access_rights/models.py
index ee4b7ffb216..f0660776d70 100644
--- a/odoo/addons/test_access_rights/models.py
+++ b/odoo/addons/test_access_rights/models.py
@@ -5,11 +5,13 @@ from odoo import fields, models
class SomeObj(models.Model):
_name = 'test_access_right.some_obj'
+ _description = 'Object For Test Access Right'
val = fields.Integer()
class Container(models.Model):
_name = 'test_access_right.container'
+ _description = 'Test Access Right Container'
some_ids = fields.Many2many('test_access_right.some_obj', 'test_access_right_rel', 'container_id', 'some_id')