2 from openerp.osv import osv, fields
5 class Topic(osv.Model):
7 _name = "semantics.topic"
9 _inherit = "mail.thread"
12 "name": fields.char(string="Title", size=256, required=True),
13 "description": fields.text(string="Description"),
18 "name_different_from_description_constraint",
19 "CHECK(name <> description)",
20 "Fields name and description should be different",