From ae2697cf04ba3ad85b74d4a7c4664d26a7ea6bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 3 Apr 2009 13:38:17 +0200 Subject: [PATCH] Fix typo in _compute_tax_lines --- move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.py b/move.py index a76489d0a0..329ddbc6a1 100644 --- a/move.py +++ b/move.py @@ -800,7 +800,7 @@ class Line(ModelSQL, ModelView): res.setdefault('add', []).append({ 'amount': base_amounts[code_id], 'code': code_id, - 'code': tax_code_obj.browse(cursor, user, + 'code.rec_name': tax_code_obj.browse(cursor, user, code_id, context=context).rec_name, }) return res