changeset 2854ff68afb6 in modules/product:default
details: https://hg.tryton.org/modules/product?cmd=changeset;node=2854ff68afb6
description:
        Remove unused template instance
diffstat:

 product.py |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r 03f64fe15398 -r 2854ff68afb6 product.py
--- a/product.py        Fri Aug 14 14:26:59 2020 +0200
+++ b/product.py        Thu Oct 08 12:21:44 2020 +0200
@@ -289,8 +289,6 @@
                 tables['template'] = {
                     None: (template, product.template == template.id),
                     }
-            else:
-                template = tables['template']
             return getattr(Template, name).convert_order(
                 name, tables['template'], Template)
         return order

Reply via email to