Add python 3 support

This commit is contained in:
jmartin 2016-03-29 12:00:23 +02:00
parent 42ba9f63c0
commit b97706951e
3 changed files with 5 additions and 3 deletions

2
doc/index.rst Normal file
View file

@ -0,0 +1,2 @@
Electronic Mail Template Module
###############################

View file

@ -5,10 +5,10 @@ from trytond.model import fields
from trytond.pool import PoolMeta
__all__ = ['ActionReport']
__metaclass__ = PoolMeta
class ActionReport:
__metaclass__ = PoolMeta
__name__ = 'ir.action.report'
file_name = fields.Char('File Name Pattern', translate=True,
help='File name e-mail attachment without extension. eg. sale_${record.reference}')

View file

@ -8,10 +8,10 @@ from trytond.transaction import Transaction
from trytond.pool import Pool, PoolMeta
__all__ = ['Trigger']
__metaclass__ = PoolMeta
class Trigger:
"Extend triggers to use Email template"
__metaclass__ = PoolMeta
__name__ = 'ir.trigger'
email_template = fields.Many2One(