Files
tryton/trytond/model/fields/char.py
T
Cédric Krier e28edc4d99 Add model.fields
Use better naming of field attributes
2009-02-03 18:58:25 +01:00

13 lines
366 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 Char(Field):
_type = 'char'
def __init__(self, string='', size=None, **args):
super(Char, self).__init__(string=string, **args)
self.size = size