Files
tryton/trytond/model/fields/boolean.py
T

11 lines
302 B
Python
Raw Normal View History

2009-02-03 18:58:25 +01:00
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
from trytond.model.fields.field import Field
class Boolean(Field):
2009-03-01 13:37:31 +01:00
'''
Define a boolean field (``True`` or ``False``).
'''
2009-02-03 18:58:25 +01:00
_type = 'boolean'