diff options
Diffstat (limited to 'odoo/addons/test_documentation_examples/inheritance.py')
| -rw-r--r-- | odoo/addons/test_documentation_examples/inheritance.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/odoo/addons/test_documentation_examples/inheritance.py b/odoo/addons/test_documentation_examples/inheritance.py deleted file mode 100644 index 510adb877d5..00000000000 --- a/odoo/addons/test_documentation_examples/inheritance.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -from odoo import models, fields - -class Inheritance0(models.Model): - _name = 'inheritance.0' - _description = 'Inheritance Zero' - - name = fields.Char() - - def call(self): - return self.check("model 0") - - def check(self, s): - return "This is {} record {}".format(s, self.name) - -class Inheritance1(models.Model): - _name = 'inheritance.1' - _inherit = 'inheritance.0' - _description = 'Inheritance One' - - def call(self): - return self.check("model 1") |
