diff --git a/move.py b/move.py index f3c6b6bad4..287ff8ed0f 100644 --- a/move.py +++ b/move.py @@ -401,9 +401,7 @@ class Line(OSV): help='The second currency') party = fields.Many2One('relationship.party', 'Party', on_change=['move', 'party', 'account', 'debit', 'credit', - 'journal'], select=1, states={ - 'required': "account_kind in ('payable', 'receivable')", - }) + 'journal'], select=1) blocked = fields.Boolean('Litigation', help='Mark the line as litigation with the party.') maturity_date = fields.Date('Maturity Date',