3
##############################################################################
5
# OpenERP, Open Source Management Solution
6
# Copyright (C) 2014 TeMPO Consulting, MSF. All Rights Reserved
8
# This program is free software: you can redistribute it and/or modify
9
# it under the terms of the GNU Affero General Public License as
10
# published by the Free Software Foundation, either version 3 of the
11
# License, or (at your option) any later version.
13
# This program is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
# GNU Affero General Public License for more details.
18
# You should have received a copy of the GNU Affero General Public License
19
# along with this program. If not, see <http://www.gnu.org/licenses/>.
21
##############################################################################
24
from osv import fields
26
class oerp_config(osv.osv):
27
_name = "unifield.test"
28
_description = "List of Unifield tests"
31
'name': fields.char('Name', size=512, required=True, translate=False),
32
'active': fields.boolean('Active?', readonly=True),
36
'active': lambda *a: True,
40
('unifield_test_name_uniq', 'unique (name)', 'You cannot have 2 unifield test with the same name!')
44
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: