+++ /dev/null
-# -*- coding: utf-8 -*-
-import openerp
-from openerp.osv import fields
-from openerp.osv.orm import Model
-
-class test_uninstall_model(Model):
- """
- This model uses different types of columns to make it possible to test
- the uninstall feature of OpenERP.
- """
- _name = 'test_uninstall.model'
-
- _columns = {
- 'name': fields.char('Name', size=64),
- 'ref': fields.many2one('res.users', string='User'),
- 'rel': fields.many2many('res.users', string='Users'),
- }
-
- _sql_constraints = [
- ('name_uniq', 'unique (name)', 'Each name must be unique.')
- ]
-
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: