From ca9dcaa92db60a5301c5b1564ea0656bfc99a6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 8 Jun 2008 14:26:18 +0200 Subject: [PATCH] Remove constraint on name, code of language and RFC 4646 reference --- trytond/ir/lang.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/trytond/ir/lang.py b/trytond/ir/lang.py index f16ffe8824..454be4cbc6 100644 --- a/trytond/ir/lang.py +++ b/trytond/ir/lang.py @@ -7,8 +7,9 @@ class Lang(OSV): _name = "ir.lang" _log_access = False _description = __doc__ - name = fields.Char('Name', size=64, required=True) - code = fields.Char('Code', size=5, required=True) + name = fields.Char('Name', required=True) + code = fields.Char('Code', required=True, + help="RFC 4646 tag: http://tools.ietf.org/html/rfc4646") translatable = fields.Boolean('Translatable') active = fields.Boolean('Active') direction = fields.Selection([