Files
tryton/trytond/model/fields/integer.py
T
Cédric Krier aed753e21c Don't raise error message about required Integer or Float
Integers and Floats have 0 as default value at the database level
2010-03-16 13:35:13 +01:00

19 lines
399 B
Python

#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 Integer(Field):
'''
Define an integer field (``int``).
'''
_type = 'integer'
class BigInteger(Integer):
'''
Define an integer field (``long``).
'''
_type = 'biginteger'