From b4a88db1cf811734dc13988501cd6bb68eac77e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 8 Oct 2020 12:21:44 +0200 Subject: [PATCH] Remove unused template instance --- product.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/product.py b/product.py index 2c617de34f..a718ea049e 100644 --- a/product.py +++ b/product.py @@ -289,8 +289,6 @@ class TemplateFunction(fields.Function): tables['template'] = { None: (template, product.template == template.id), } - else: - template = tables['template'] return getattr(Template, name).convert_order( name, tables['template'], Template) return order