From d56ac1daab3eaf2917edb92afdd408ab5e263363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 29 Jun 2017 19:54:53 +0200 Subject: [PATCH] Remove trailing comma from tax line amount This put a tuple as amount value instead of the Decimal --- move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.py b/move.py index e23825d771..73e23bde2c 100644 --- a/move.py +++ b/move.py @@ -1066,7 +1066,7 @@ class Line(ModelSQL, ModelView): tax_line = TaxLine(**TaxLine.default_get( TaxLine._fields.keys())) - tax_line.amount = base_amounts[code_id, tax_id], + tax_line.amount = base_amounts[code_id, tax_id] tax_line.currency_digits = self.account.currency_digits tax_line.code = code_id tax_line.tax = tax_id