summaryrefslogtreecommitdiff
path: root/odoo/addons/test_documentation_examples/inheritance.py
diff options
context:
space:
mode:
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")