mirror of
https://github.com/NaN-tic/trytond-account_dunning_cron.git
synced 2023-12-13 21:00:14 +01:00
Add python 3 support
This commit is contained in:
parent
463db1a660
commit
abc063bfee
|
@ -6,10 +6,10 @@ from trytond.model import fields
|
||||||
|
|
||||||
|
|
||||||
__all__ = ['Configuration']
|
__all__ = ['Configuration']
|
||||||
__metaclass__ = PoolMeta
|
|
||||||
|
|
||||||
|
|
||||||
class Configuration:
|
class Configuration:
|
||||||
|
__metaclass__ = PoolMeta
|
||||||
__name__ = 'account.configuration'
|
__name__ = 'account.configuration'
|
||||||
dunning_group_cron = fields.Property(fields.Many2One('res.group',
|
dunning_group_cron = fields.Property(fields.Many2One('res.group',
|
||||||
'Dunning Group Cron'))
|
'Dunning Group Cron'))
|
||||||
|
|
|
@ -9,12 +9,12 @@ from email.header import Header
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
__all__ = ['Dunning']
|
__all__ = ['Dunning']
|
||||||
__metaclass__ = PoolMeta
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class Dunning:
|
class Dunning:
|
||||||
|
__metaclass__ = PoolMeta
|
||||||
__name__ = 'account.dunning'
|
__name__ = 'account.dunning'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in a new issue