Add python 3 support
This commit is contained in:
parent
17e04292e8
commit
4ae4f80133
|
@ -6,10 +6,10 @@ from trytond.transaction import Transaction
|
||||||
from trytond.pyson import If, Eval, Less
|
from trytond.pyson import If, Eval, Less
|
||||||
|
|
||||||
__all__ = ['Template', 'Product']
|
__all__ = ['Template', 'Product']
|
||||||
__metaclass__ = PoolMeta
|
|
||||||
|
|
||||||
|
|
||||||
class Template:
|
class Template:
|
||||||
|
__metaclass__ = PoolMeta
|
||||||
__name__ = 'product.template'
|
__name__ = 'product.template'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -30,6 +30,7 @@ class Template:
|
||||||
|
|
||||||
|
|
||||||
class Product:
|
class Product:
|
||||||
|
__metaclass__ = PoolMeta
|
||||||
__name__ = 'product.product'
|
__name__ = 'product.product'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue