Fix typo for account.rec_name

(transplanted from ad252c972c1f7ccc738088e46672a36abda60f32)
This commit is contained in:
Cédric Krier committed 2012-08-05 21:11:26 +02:00
1 parent e252941b0b
commit 24f5ea3dcc
1 file changed
+1 -1
+1 -1
View File
@@ -886,7 +886,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'):