diff --git a/account.py b/account.py index 09b52c980d..4ea668c2b5 100644 --- a/account.py +++ b/account.py @@ -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')),