Add python 3 support

This commit is contained in:
jmartin 2016-03-29 12:00:32 +02:00
parent b3d321796a
commit c6454d1be7
2 changed files with 2 additions and 3 deletions

View file

@ -5,10 +5,10 @@ from trytond.model import fields
from trytond.pool import PoolMeta
__all__ = ['Configuration']
__metaclass__ = PoolMeta
class Configuration:
__metaclass__ = PoolMeta
__name__ = 'product.configuration'
purchasable_sequence = fields.Property(fields.Many2One('ir.sequence',
'Purchasable Sequence', domain=[

View file

@ -4,11 +4,10 @@
from trytond.pool import Pool, PoolMeta
__all__ = ['Product']
__metaclass__ = PoolMeta
class Product:
'Product Product'
__metaclass__ = PoolMeta
__name__ = 'product.product'
@classmethod