Fix typo for account.rec_name

(transplanted from ad252c972c1f7ccc738088e46672a36abda60f32)
This commit is contained in:
Cédric Krier
2012-08-05 21:11:26 +02:00
parent f1273549b1
commit 6a28ee525a
+1 -1
View File
@@ -878,7 +878,7 @@ class Line(ModelSQL, ModelView):
else:
if 'account' not in res:
res['account'] = party.account_payable.id
res['account.rec_name'] = party.account_payable.id
res['account.rec_name'] = party.account_payable.rec_name
if party and vals.get('credit'):
if vals['credit'] > Decimal('0.0'):