From 1613dca8232ea8a647c60b31683e09998532fb8f Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Tue, 29 Jul 2008 11:17:28 +0200 Subject: [PATCH] Removed useless size constaint --- trytond/ir/rule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trytond/ir/rule.py b/trytond/ir/rule.py index 67fb888862..28a48e44ca 100644 --- a/trytond/ir/rule.py +++ b/trytond/ir/rule.py @@ -9,7 +9,7 @@ class RuleGroup(OSV): "Rule group" _name = 'ir.rule.group' _description = __doc__ - name = fields.Char('Name', size=128, select=1) + name = fields.Char('Name', select=1) model = fields.Many2One('ir.model', 'Model', select=1, required=True) global_p = fields.Boolean('Global', select=1, required=True, @@ -80,7 +80,7 @@ class Rule(OSV): ('in', 'in'), ('child_of', 'child_of'), ], 'Operator', required=True) - operand = fields.Selection('get_operand','Operand', size=64, required=True) + operand = fields.Selection('get_operand','Operand', required=True) rule_group = fields.Many2One('ir.rule.group', 'Group', select=2, required=True, ondelete="cascade")