10d7477043
Basic tests & tests of the 3 fixes of #64328 Be sure that we have a beautiful error page and not a black/white error Be sure that slug_matching with 308 redirect works as expected and don't raise a RequestUID exception. closes odoo/odoo#64889 X-original-commit: 3af11f0b6db0efb6c912b25bcd04d2cbe9a07d57 Co-authored-by: "Romain Derie <rde@odoo.com>" Co-authored-by: "Jeremy Kersten <jke@odoo.com>"
15 lines
384 B
Python
15 lines
384 B
Python
# -*- 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)
|