diff options
Diffstat (limited to 'odoo/addons/test_documentation_examples')
| -rw-r--r-- | odoo/addons/test_documentation_examples/delegation.py | 3 | ||||
| -rw-r--r-- | odoo/addons/test_documentation_examples/extension.py | 1 | ||||
| -rw-r--r-- | odoo/addons/test_documentation_examples/inheritance.py | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/odoo/addons/test_documentation_examples/delegation.py b/odoo/addons/test_documentation_examples/delegation.py index 3f9ba035168..54beeef77c6 100644 --- a/odoo/addons/test_documentation_examples/delegation.py +++ b/odoo/addons/test_documentation_examples/delegation.py @@ -5,16 +5,19 @@ from odoo import models, fields class Child0(models.Model): _name = 'delegation.child0' + _description = 'Delegation Child zero' field_0 = fields.Integer() class Child1(models.Model): _name = 'delegation.child1' + _description = 'Delegation Child one' field_1 = fields.Integer() class Delegating(models.Model): _name = 'delegation.parent' + _description = 'Delegation Parent' _inherits = { 'delegation.child0': 'child0_id', diff --git a/odoo/addons/test_documentation_examples/extension.py b/odoo/addons/test_documentation_examples/extension.py index 344c809026e..5e01e800b2f 100644 --- a/odoo/addons/test_documentation_examples/extension.py +++ b/odoo/addons/test_documentation_examples/extension.py @@ -5,6 +5,7 @@ from odoo import models, fields class Extension0(models.Model): _name = 'extension.0' + _description = 'Extension zero' name = fields.Char(default="A") 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") |
