Add python 3 support
This commit is contained in:
parent
72eb5bc710
commit
b80969e33e
|
@ -10,7 +10,6 @@ from trytond.transaction import Transaction
|
|||
|
||||
|
||||
__all__ = ['ElectronicMailFilter', 'SearchingStart']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class ElectronicMailFilter(ModelSQL, ModelView):
|
||||
|
@ -203,6 +202,7 @@ class ElectronicMailFilter(ModelSQL, ModelView):
|
|||
|
||||
|
||||
class SearchingStart:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'searching.start'
|
||||
|
||||
@staticmethod
|
||||
|
|
|
@ -5,10 +5,10 @@ from trytond.pool import PoolMeta
|
|||
|
||||
|
||||
__all__ = ['Template']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class Template:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'electronic.mail.template'
|
||||
|
||||
filters = fields.One2Many('electronic.mail.filter', 'template',
|
||||
|
|
Loading…
Reference in New Issue