summaryrefslogtreecommitdiff
path: root/odoo/addons/test_documentation_examples/inheritance.py
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_documentation_examples/inheritance.py
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_documentation_examples/inheritance.py')
-rw-r--r--odoo/addons/test_documentation_examples/inheritance.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/odoo/addons/test_documentation_examples/inheritance.py b/odoo/addons/test_documentation_examples/inheritance.py
index b1586760d98..510adb877d5 100644
--- a/odoo/addons/test_documentation_examples/inheritance.py
+++ b/odoo/addons/test_documentation_examples/inheritance.py
@@ -5,6 +5,7 @@ from odoo import models, fields
class Inheritance0(models.Model):
_name = 'inheritance.0'
+ _description = 'Inheritance Zero'
name = fields.Char()
@@ -17,6 +18,7 @@ class Inheritance0(models.Model):
class Inheritance1(models.Model):
_name = 'inheritance.1'
_inherit = 'inheritance.0'
+ _description = 'Inheritance One'
def call(self):
return self.check("model 1")