Add python 3 support

This commit is contained in:
jmartin 2016-03-29 12:00:32 +02:00
parent 17e04292e8
commit 4ae4f80133
1 changed files with 2 additions and 1 deletions

View File

@ -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