From 5174209a08b87e316e63b0ec2ea4b1ab8eb17bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 21 Oct 2008 23:05:59 +0200 Subject: [PATCH] Remove required on party for move line --- move.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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',