mirror of
https://github.com/NaN-tic/trytond-electronic_mail_template-old.git
synced 2023-12-14 02:42:56 +01:00
Add python 3 support
This commit is contained in:
parent
42ba9f63c0
commit
b97706951e
2
doc/index.rst
Normal file
2
doc/index.rst
Normal file
|
@ -0,0 +1,2 @@
|
|||
Electronic Mail Template Module
|
||||
###############################
|
|
@ -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}')
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue