Add python 3 support
This commit is contained in:
parent
5bd240b1db
commit
4f19dd0c7d
|
@ -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')
|
||||
|
|
|
@ -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 '
|
||||
|
|
Loading…
Reference in New Issue