Add python 3 support

This commit is contained in:
jmartin 2016-03-29 12:00:23 +02:00
parent 5bd240b1db
commit 4f19dd0c7d
2 changed files with 3 additions and 2 deletions

View File

@ -5,9 +5,10 @@ from trytond.model import fields
from trytond.pool import PoolMeta
__all__ = ['ActionWizard']
__metaclass__ = PoolMeta
class ActionWizard:
__metaclass__ = PoolMeta
__name__ = 'ir.action.wizard'
template = fields.One2Many("electronic.mail.template", 'wizard', 'Template')

View File

@ -7,10 +7,10 @@ from trytond.pyson import Eval
from trytond.transaction import Transaction
__all__ = ['Template']
__metaclass__ = PoolMeta
class Template:
__metaclass__ = PoolMeta
__name__ = 'electronic.mail.template'
create_action = fields.Boolean('Create Action', help='If set a wizard '
'action will be created in the related model in order to send the '