diff options
| author | Nimesh Jethva <nje@odoo.com> | 2018-09-17 16:35:47 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-09-21 11:45:15 +0200 |
| commit | 427ba08e0d161e322c5774d7e99be6daf93ece86 (patch) | |
| tree | 55b1db22f08bd949712303bbfd16327e484b94d9 /odoo/addons/test_documentation_examples/inheritance.py | |
| parent | 7eea263f3649a5b6e7e9456bf30de13d7c65d13a (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.py | 2 |
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") |
