Fix typo introduced by cebf2de2baa2

issue2173
This commit is contained in:
Cédric Krier committed 2011-10-07 20:27:27 +02:00
1 parent afe8436f86
commit d3d874084a
1 file changed
+1 -1
+1 -1
View File
@@ -535,7 +535,7 @@ class Account(ModelSQL, ModelView):
type = fields.Many2One('account.account.type', 'Type', ondelete="RESTRICT",
states={
'invisible': Eval('kind') == 'view',
'required': Eval('kind') == 'view',
'required': Eval('kind') != 'view',
},
domain=[
('company', '=', Eval('company')),