From 4ae4f80133af4d97bc86dd8cea9df5a7773ee02f Mon Sep 17 00:00:00 2001 From: jmartin Date: Tue, 29 Mar 2016 12:00:32 +0200 Subject: [PATCH] Add python 3 support --- product.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product.py b/product.py index debce2b..0cad56c 100644 --- a/product.py +++ b/product.py @@ -6,10 +6,10 @@ from trytond.transaction import Transaction from trytond.pyson import If, Eval, Less __all__ = ['Template', 'Product'] -__metaclass__ = PoolMeta class Template: + __metaclass__ = PoolMeta __name__ = 'product.template' @classmethod @@ -30,6 +30,7 @@ class Template: class Product: + __metaclass__ = PoolMeta __name__ = 'product.product' @classmethod