From 24f5ea3dccb44c68b5943c31710086459d9ec2aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 5 Aug 2012 21:11:26 +0200 Subject: [PATCH] Fix typo for account.rec_name (transplanted from ad252c972c1f7ccc738088e46672a36abda60f32) --- move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.py b/move.py index fd4284496b..55cb946624 100644 --- a/move.py +++ b/move.py @@ -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'):