blob: 626e3bec3e5ade16a61d52d84feb009dcc9727c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class TestModel(models.Model):
""" Add website option in server actions. """
_name = 'test.model'
_inherit = ['website.seo.metadata', 'website.published.mixin']
_description = 'Website Model Test'
name = fields.Char(required=1)
|