From bd053297cc865ea713f8bf24d8972e5e40c77877 Mon Sep 17 00:00:00 2001 From: Korbinian Preisler Date: Wed, 16 Apr 2014 10:12:37 +0000 Subject: [PATCH] Use list of ids to add taxes on account issue3852 review5141002 --- account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.py b/account.py index cbf3acd01d..81e01677ee 100644 --- a/account.py +++ b/account.py @@ -511,7 +511,7 @@ class AccountTemplate(ModelSQL, ModelView): if self.taxes: Account.write([Account(template2account[self.id])], { 'taxes': [ - ('add', template2tax[x.id]) for x in self.taxes], + ('add', [template2tax[x.id] for x in self.taxes])], }) template_done.append(self.id)