Remove required on party for move line

This commit is contained in:
Cédric Krier committed 2008-10-21 23:05:59 +02:00
1 parent 0dbae23c8d
commit 5174209a08
1 file changed
+1 -3
+1 -3
View File
@@ -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',