1 # -*- coding: utf-8 -*-
3 from openerp.osv import fields
4 from openerp.osv.orm import Model
6 class test_uninstall_model(Model):
8 This model uses different types of columns to make it possible to test
9 the uninstall feature of OpenERP.
11 _name = 'test_uninstall.model'
14 'name': fields.char('Name', size=64),
15 'ref': fields.many2one('res.users', string='User'),
16 'rel': fields.many2many('res.users', string='Users'),
20 ('name_uniq', 'unique (name)', 'Each name must be unique.')
23 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: